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

39 lines
943 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: 5900f3ec1000cf542c50fefe
title: 问题127abc-hits
challengeType: 5
videoUrl: ''
dashedName: problem-127-abc-hits
---
# --description--
nradn的基数是n的不同素因子的乘积。例如504 = 23×32×7因此rad504= 2×3×7 = 42.如果出现以下情况我们将正整数abc的三元组定义为abc-hitGCD ab= GCDac= GCDbc= 1 a &lt;ba + b = c radabc&lt;c例如5,27,32是abc-hit因为GCD5,27= GCD5,32= GCD27,32= 1 5 &lt;27 5 + 27 = 32 rad4320= 30 &lt;32事实证明abc-hits是非常罕见的c &lt;1000只有31次abc命中Σc= 12523。查找Σc表示c &lt;120000。
# --hints--
`euler127()`应该返回18407904。
```js
assert.strictEqual(euler127(), 18407904);
```
# --seed--
## --seed-contents--
```js
function euler127() {
return true;
}
euler127();
```
# --solutions--
```js
// solution required
```