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
941 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: 5900f50a1000cf542c51001c
title: 问题413独生子女号码
challengeType: 5
videoUrl: ''
dashedName: problem-413-one-child-numbers
---
# --description--
我们说如果其子串中的一个子串可被d整除则d位正数无前导零是一个子数。
例如5671是一个4位数的单子号码。在其所有子串5,6,7,1,56,67,71,567,671和5671中只有56可被4整除。类似地104是3位单子数因为只有0可被整除3. 1132451是一个7位数的单子号码因为只有245可被7整除。
设FN是小于N的一子数的数。我们可以验证F10= 9F103= 389和F107= 277674。
找到F1019
# --hints--
`euler413()`应该返回3079418648040719。
```js
assert.strictEqual(euler413(), 3079418648040719);
```
# --seed--
## --seed-contents--
```js
function euler413() {
return true;
}
euler413();
```
# --solutions--
```js
// solution required
```