Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-133-repunit-nonfactors.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

1.2 KiB
Raw Blame History

id, challengeType, title, videoUrl, localeTitle
id challengeType title videoUrl localeTitle
5900f3f21000cf542c50ff04 5 Problem 133: Repunit nonfactors 问题133重新计算非因素

Description

完全由1组成的数字称为repunit。我们将Rk定义为长度k的重新定位;例如R6= 111111.让我们考虑R10n形式的重新组合。虽然R10R100或R1000不能被17整除但R10000可被17整除。但是没有n的值R10n将除以19。事实上值得注意的是11,17,41和73是低于100的唯一四个素数可以是R10n的因子。求出十万以下所有素数的总和这些素数永远不会是R10n的因子。

Instructions

Tests

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

Challenge Seed

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

euler133();

Solution

// solution required

/section>