* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
978 B
978 B
id, title, challengeType, videoUrl, dashedName
id | title | challengeType | videoUrl | dashedName |
---|---|---|---|---|
5900f5001000cf542c510012 | 问题404:交叉椭圆 | 5 | 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。
assert.strictEqual(euler404(), 1199215615081353);
--seed--
--seed-contents--
function euler404() {
return true;
}
euler404();
--solutions--
// solution required