Files

41 lines
681 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f48f1000cf542c50ffa2
title: 'Problema 291: Números primos de Panaitopol'
challengeType: 5
forumTopicId: 301943
dashedName: problem-291-panaitopol-primes
---
# --description--
Um número primo $p$ é chamado de primo de Panaitopol se $p = \frac{x^4 - y^4}{x^3 + y^3}$ para alguns inteiros positivos $x$ e $y$.
Encontre quantos primos de Panaitopol são menores que $5 × {10}^{15}$.
# --hints--
`panaitopolPrimes()` deve retornar `4037526`.
```js
assert.strictEqual(panaitopolPrimes(), 4037526);
```
# --seed--
## --seed-contents--
```js
function panaitopolPrimes() {
return true;
}
panaitopolPrimes();
```
# --solutions--
```js
// solution required
```