707 B
707 B
id | title | challengeType | forumTopicId | dashedName |
---|---|---|---|---|
5900f48f1000cf542c50ffa2 | 問題 291: Panaitopol 素数 | 1 | 301943 | 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
を返す必要があります。
assert.strictEqual(panaitopolPrimes(), 4037526);
--seed--
--seed-contents--
function panaitopolPrimes() {
return true;
}
panaitopolPrimes();
--solutions--
// solution required