freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-263-an-engineers-dream-come-true.md
Oliver Eyton-Williams ee1e8abd87
feat(curriculum): restore seed + solution to Chinese (#40683)
* 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>
2021-01-12 19:31:00 -07:00

1.2 KiB
Raw Blame History

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的每个数可以写成61 = 1,2 = 2,3 =的不同除数之和1 + 2,4 = 1 + 3,5 = 2 + 3,6 = 6。如果从1到n并且包括n的每个数可以表示为n的不同除数之和则数n被称为实数。

一对差异为6的连续素数被称为性感对因为“性”是拉丁语中的“六”。第一个性感的是23,29

我们偶尔会发现一对三对,这意味着三对连续的性感素数对,这样每对的第二个成员就是下一对的第一个成员。

我们将数字n称为n-9n-3n-3n + 3n + 3n + 9形成三对数字n-8 n-4nn + 4和n + 8都是实用的

工程师的天堂。

找出前四个工程师天堂的总和。

--hints--

euler263()应该返回2039506520。

assert.strictEqual(euler263(), 2039506520);

--seed--

--seed-contents--

function euler263() {

  return true;
}

euler263();

--solutions--

// solution required