freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-291-panaitopol-prim...

1.0 KiB
Raw Blame History

id challengeType title videoUrl localeTitle
5900f48f1000cf542c50ffa2 5 Problem 291: Panaitopol Primes Problem 291: Panaitopol Primes

Description

Простое число p называется панаитоповым простым, если для некоторых натуральных x и y.

Найдите, сколько Панайтопольских простых чисел меньше 5 × 1015.

Instructions

Tests

tests:
  - text: <code>euler291()</code> должен возвращать 4037526.
    testString: 'assert.strictEqual(euler291(), 4037526, "<code>euler291()</code> should return 4037526.");'

Challenge Seed

function euler291() {
  // Good luck!
  return true;
}

euler291();

Solution

// solution required