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

748 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f4fd1000cf542c51000f 问题401除数的平方和 5 problem-401-sum-of-squares-of-divisors

--description--

6的除数是1,2,3和6.这些数的平方和是1 + 4 + 9 + 36 = 50。

设sigma2n代表n的除数的平方和。因此sigma26= 50。

设SIGMA2表示sigma2的和函数即对于i = 1到nSIGMA2n=Σsigma2i。 SIGMA2的前6个值是1,6,16,37,63和113。

找到SIGMA21015modulo 109。

--hints--

euler401()应该返回281632621。

assert.strictEqual(euler401(), 281632621);

--seed--

--seed-contents--

function euler401() {

  return true;
}

euler401();

--solutions--

// solution required