45 lines
978 B
Markdown
45 lines
978 B
Markdown
---
|
||
id: 5900f5001000cf542c510012
|
||
title: 问题404:交叉椭圆
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
dashedName: problem-404-crisscross-ellipses
|
||
---
|
||
|
||
# --description--
|
||
|
||
Ea是椭圆,其形式为x2 + 4y2 = 4a2。 Ea'是Ea的旋转图像,绕原点O(0,0)逆时针旋转θ度0°<θ<90°。
|
||
|
||
b是距离原点最近的两个交点的原点的距离,c是另外两个交点的距离。如果a,b和c是正整数,我们称有序三元组(a,b,c)为规范椭圆体三元组。例如,(209,247,286)是规范的椭圆体三重态。
|
||
|
||
令C(N)为a≤N的不同规范椭球三胞胎(a,b,c)的数量。可以证实C(103)= 7,C(104)= 106和C(106)= 11845 。
|
||
|
||
找到C(1017)。
|
||
|
||
# --hints--
|
||
|
||
`euler404()`应该返回1199215615081353。
|
||
|
||
```js
|
||
assert.strictEqual(euler404(), 1199215615081353);
|
||
```
|
||
|
||
# --seed--
|
||
|
||
## --seed-contents--
|
||
|
||
```js
|
||
function euler404() {
|
||
|
||
return true;
|
||
}
|
||
|
||
euler404();
|
||
```
|
||
|
||
# --solutions--
|
||
|
||
```js
|
||
// solution required
|
||
```
|