* 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>
43 lines
701 B
Markdown
43 lines
701 B
Markdown
---
|
||
id: 5900f4291000cf542c50ff3a
|
||
title: 问题187:半致
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
dashedName: problem-187-semiprimes
|
||
---
|
||
|
||
# --description--
|
||
|
||
复合是包含至少两个素因子的数字。例如,15 = 3×5; 9 = 3×3; 12 = 2×2×3。
|
||
|
||
在30以下有十种复合材料恰好包含两个,不一定是不同的主要因素:4,6,9,10,14,15,21,22,25,26。
|
||
|
||
有多少复合整数,n <108,恰好有两个,不一定是不同的素因子?
|
||
|
||
# --hints--
|
||
|
||
`euler187()`应该返回17427258。
|
||
|
||
```js
|
||
assert.strictEqual(euler187(), 17427258);
|
||
```
|
||
|
||
# --seed--
|
||
|
||
## --seed-contents--
|
||
|
||
```js
|
||
function euler187() {
|
||
|
||
return true;
|
||
}
|
||
|
||
euler187();
|
||
```
|
||
|
||
# --solutions--
|
||
|
||
```js
|
||
// solution required
|
||
```
|