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

840 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f49d1000cf542c50ffaf 问题304Primonacci 5 problem-304-primonacci

--description--

对于任何正整数n函数next_primen返回最小质数p使得p> n。

序列an定义为 对于n> 1a1= next_prime1014和an= next_primean-1

斐波那契数列fn定义为 对于n> 1f0= 0f1= 1和fn= fn-1+ fn-2

序列bn定义为fan

求出∑bn为1≤n≤100000。 给出答案mod 1234567891011。

--hints--

euler304()应该返回283988410192。

assert.strictEqual(euler304(), 283988410192);

--seed--

--seed-contents--

function euler304() {

  return true;
}

euler304();

--solutions--

// solution required