freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-146-investigating-a...

60 lines
852 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5900f3fe1000cf542c50ff11
challengeType: 5
videoUrl: ''
title: 问题146调查素数模式
---
## Description
<section id="description">
整数n2 + 1n2 + 3n2 + 7n2 + 9n2 + 13和n2 + 27为其连续质数的最小正整数n为10。所有小于100万的整数n的总和 是1242490。
所有小于1.5亿的整数n的总和是多少
</section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler146()</code>应该返回676333270。
testString: assert.strictEqual(euler146(), 676333270);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler146() {
// Good luck!
return true;
}
euler146();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>