freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-187-semiprimes.md

26 lines
537 B
Markdown
Raw Normal View History

---
id: 5900f4291000cf542c50ff3a
title: 问题187半致
challengeType: 5
videoUrl: ''
---
# --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);
```
# --solutions--