Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-168-number-rotations.chinese.md
Oliver Eyton-Williams 61460c8601 fix: insert blank line after ```
search and replace ```\n< with ```\n\n< to ensure there's an empty line
before closing tags
2020-08-16 04:45:20 +05:30

1006 B
Raw Blame History

id, challengeType, title, videoUrl, localeTitle
id challengeType title videoUrl localeTitle
5900f4151000cf542c50ff27 5 Problem 168: Number Rotations 问题168数字轮换

Description

考虑数字142857.我们可以通过将最后一个数字7移动到它的前面来右旋这个数字给我们714285.可以验证714285 = 5×142857。这证明了142857的一个不寻常的属性它是右旋的除数。找到具有此属性的所有整数n10 <n <10100之和的最后5位数。

Instructions

Tests

tests:
  - text: <code>euler168()</code>应返回<code>euler168()</code> 。
    testString: assert.strictEqual(euler168(), 59206);

Challenge Seed

function euler168() {
  // Good luck!
  return true;
}

euler168();

Solution

// solution required

/section>