freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-133-repunit-nonfact...

56 lines
1.2 KiB
Markdown
Raw Normal View History

---
id: 5900f3f21000cf542c50ff04
challengeType: 5
title: 'Problem 133: Repunit nonfactors'
videoUrl: ''
localeTitle: 问题133重新计算非因素
---
## Description
<section id="description">完全由1组成的数字称为repunit。我们将Rk定义为长度k的重新定位;例如R6= 111111.让我们考虑R10n形式的重新组合。虽然R10R100或R1000不能被17整除但R10000可被17整除。但是没有n的值R10n将除以19。事实上值得注意的是11,17,41和73是低于100的唯一四个素数可以是R10n的因子。求出十万以下所有素数的总和这些素数永远不会是R10n的因子。 </section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler133()</code>应返回453647705。
testString: 'assert.strictEqual(euler133(), 453647705, "<code>euler133()</code> should return 453647705.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler133() {
// Good luck!
return true;
}
euler133();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>