login
A338897
Numbers k such that k^5-k+1 is prime.
2
2, 3, 4, 5, 10, 12, 13, 14, 18, 19, 21, 31, 35, 36, 38, 41, 46, 47, 48, 57, 61, 72, 75, 87, 90, 98, 103, 129, 132, 137, 146, 148, 161, 168, 169, 173, 176, 183, 195, 208, 212, 214, 221, 224, 235, 237, 241, 251, 252, 265, 268, 270, 273, 276, 280, 282, 294, 295, 296, 301, 304, 318
OFFSET
1,1
LINKS
MAPLE
select(k -> isprime(k^5-k+1), [$1..1000]); # Robert Israel, Nov 15 2020
PROG
(PARI) select(k -> isprime(k^5-k+1), [1..318]) \\ Rémy Sigrist, Nov 15 2020
CROSSREFS
For the primes themselves see A338893.
Sequence in context: A117360 A074821 A348511 * A296160 A076707 A364902
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 14 2020
STATUS
approved