Files
freeCodeCamp/curriculum/challenges/japanese/10-coding-interview-prep/project-euler/problem-291-panaitopol-primes.md

41 lines
707 B
Markdown
Raw Permalink Normal View History

---
id: 5900f48f1000cf542c50ffa2
title: '問題 291: Panaitopol 素数'
challengeType: 5
forumTopicId: 301943
dashedName: problem-291-panaitopol-primes
---
# --description--
正の整数 $x$ と $y$ に対して素数 $p = \frac{x^4 - y^4}{x^3 + y^3}$ が成り立つとき、$p$ は Panaitopol 素数と呼ばれます。
$5 × {10}^{15}$ 未満の Panaitopol 素数はいくつありますか。
# --hints--
`panaitopolPrimes()``4037526` を返す必要があります。
```js
assert.strictEqual(panaitopolPrimes(), 4037526);
```
# --seed--
## --seed-contents--
```js
function panaitopolPrimes() {
return true;
}
panaitopolPrimes();
```
# --solutions--
```js
// solution required
```