22 lines
554 B
Markdown
22 lines
554 B
Markdown
---
|
||
id: 5900f4151000cf542c50ff27
|
||
title: 问题168:数字轮换
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
---
|
||
|
||
# --description--
|
||
|
||
考虑数字142857.我们可以通过将最后一个数字(7)移动到它的前面来右旋这个数字,给我们714285.可以验证714285 = 5×142857。这证明了142857的一个不寻常的属性:它是右旋的除数。找到具有此属性的所有整数n,10 <n <10100之和的最后5位数。
|
||
|
||
# --hints--
|
||
|
||
`euler168()`应返回`euler168()` 。
|
||
|
||
```js
|
||
assert.strictEqual(euler168(), 59206);
|
||
```
|
||
|
||
# --solutions--
|
||
|