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

41 lines
566 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: 'Problem 291: Panaitopol Primes'
challengeType: 5
forumTopicId: 301943
dashedName: problem-291-panaitopol-primes
---
# --description--
A prime number p is called a Panaitopol prime if for some positive integersx and y.
Find how many Panaitopol primes are less than 5×1015.
# --hints--
`euler291()` should return 4037526.
```js
assert.strictEqual(euler291(), 4037526);
```
# --seed--
## --seed-contents--
```js
function euler291() {
return true;
}
euler291();
```
# --solutions--
```js
// solution required
```