--- id: 5900f3a01000cf542c50feb3 challengeType: 5 videoUrl: '' localeTitle: 问题52:置换倍数 --- ## Description 可以看出,数字125874及其双精度数251748包含完全相同的数字,但顺序不同。找到最小的正整数x,使得2x,3x,4x,5x和6x包含相同的数字。 ## Instructions ## Tests ```yml tests: - text: permutedMultiples()应该返回142857。 testString: assert.strictEqual(permutedMultiples(), 142857); ``` ## Challenge Seed ```js function permutedMultiples() { // Good luck! return true; } permutedMultiples(); ``` ## Solution ```js // solution required ``` /section>
permutedMultiples()