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

41 lines
707 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: 5900f48f1000cf542c50ffa2
title: '問題 291: Panaitopol 素数'
challengeType: 1
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
```