* 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>
1.2 KiB
1.2 KiB
id, title, challengeType, videoUrl, dashedName
id | title | challengeType | videoUrl | dashedName |
---|---|---|---|---|
5900f4741000cf542c50ff86 | 问题263:工程师“梦想成真 | 5 | problem-263-an-engineers-dream-come-true |
--description--
考虑数字6. 6的除数是:1,2,3和6.从1到6并且包括6的每个数可以写成6:1 = 1,2 = 2,3 =的不同除数之和1 + 2,4 = 1 + 3,5 = 2 + 3,6 = 6。如果从1到n并且包括n的每个数可以表示为n的不同除数之和,则数n被称为实数。
一对差异为6的连续素数被称为性感对(因为“性”是拉丁语中的“六”)。第一个性感的是(23,29)。
我们偶尔会发现一对三对,这意味着三对连续的性感素数对,这样每对的第二个成员就是下一对的第一个成员。
我们将数字n称为:(n-9,n-3),(n-3,n + 3),(n + 3,n + 9)形成三对,数字n-8 ,n-4,n,n + 4和n + 8都是实用的,
工程师的天堂。
找出前四个工程师天堂的总和。
--hints--
euler263()
应该返回2039506520。
assert.strictEqual(euler263(), 2039506520);
--seed--
--seed-contents--
function euler263() {
return true;
}
euler263();
--solutions--
// solution required