* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
41 lines
530 B
Markdown
41 lines
530 B
Markdown
---
|
||
id: 5900f48f1000cf542c50ffa2
|
||
title: 问题291:Panaitopol素数
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
dashedName: problem-291-panaitopol-primes
|
||
---
|
||
|
||
# --description--
|
||
|
||
如果对于某些正整数x和y,素数p称为Panaitopol素数。
|
||
|
||
找出多少个Panaitopol素数小于5×1015。
|
||
|
||
# --hints--
|
||
|
||
`euler291()`应该返回4037526。
|
||
|
||
```js
|
||
assert.strictEqual(euler291(), 4037526);
|
||
```
|
||
|
||
# --seed--
|
||
|
||
## --seed-contents--
|
||
|
||
```js
|
||
function euler291() {
|
||
|
||
return true;
|
||
}
|
||
|
||
euler291();
|
||
```
|
||
|
||
# --solutions--
|
||
|
||
```js
|
||
// solution required
|
||
```
|