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

45 lines
788 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f4ea1000cf542c50fffc
title: 问题381prime-k阶乘
challengeType: 5
videoUrl: ''
dashedName: problem-381-prime-k-factorial
---
# --description--
对于素数p令Sp=Σpkmodp1≤k≤5。
例如如果p = 77-1 +7-2 +7-3 +7-4 +7-5 = 6 + 5 + 4 + 3 + 2 = 720 + 120 + 24 + 6 + 2 = 872.当872 mod7= 4时S7= 4。
对于5≤p&lt;100可以证实ΣSp= 480。
求ΣSp为5≤p&lt;108。
# --hints--
`euler381()`应该返回139602943319822。
```js
assert.strictEqual(euler381(), 139602943319822);
```
# --seed--
## --seed-contents--
```js
function euler381() {
return true;
}
euler381();
```
# --solutions--
```js
// solution required
```