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

713 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f5271000cf542c51003a 问题443GCD序列 5 problem-443-gcd-sequence

--description--

设gn为如下定义的序列g4= 13gn= gn-1+ gcdngn-1n> 4。

前几个值是:

 n4567891011121314151617181920... g(n)1314161718272829303132333451545560... 

给出g1 000= 2524和g1 000 000= 2624152。

找到g1015

--hints--

euler443()应该返回2744233049300770。

assert.strictEqual(euler443(), 2744233049300770);

--seed--

--seed-contents--

function euler443() {

  return true;
}

euler443();

--solutions--

// solution required