22 lines
368 B
Markdown
22 lines
368 B
Markdown
---
|
||
id: 5900f41f1000cf542c50ff32
|
||
title: 问题179:连续的正向除数
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
---
|
||
|
||
# --description--
|
||
|
||
求整数1 <n <107,其中n和n + 1具有相同的正除数。例如,14具有正除数1,2,7,14而15具有1,3,5,15。
|
||
|
||
# --hints--
|
||
|
||
`euler179()`应返回986262。
|
||
|
||
```js
|
||
assert.strictEqual(euler179(), 986262);
|
||
```
|
||
|
||
# --solutions--
|
||
|