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

24 lines
455 B
Markdown
Raw Normal View History

---
id: 5900f3fe1000cf542c50ff11
title: 问题146调查素数模式
challengeType: 5
videoUrl: ''
---
# --description--
整数n2 + 1n2 + 3n2 + 7n2 + 9n2 + 13和n2 + 27为其连续质数的最小正整数n为10。所有小于100万的整数n的总和 是1242490。
所有小于1.5亿的整数n的总和是多少
# --hints--
`euler146()`应该返回676333270。
```js
assert.strictEqual(euler146(), 676333270);
```
# --solutions--