id |
title |
challengeType |
videoUrl |
5900f3a01000cf542c50feb3 |
问题52:置换倍数 |
5 |
|
--description--
可以看出,数字125874及其双精度数251748包含完全相同的数字,但顺序不同。找到最小的正整数x,使得2x,3x,4x,5x和6x包含相同的数字。
--hints--
permutedMultiples()
应该返回142857。
assert.strictEqual(permutedMultiples(), 142857);
--solutions--