login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A216976
Numbers k such that k^5+2 is prime.
7
0, 1, 9, 11, 15, 27, 39, 51, 57, 105, 149, 179, 197, 219, 225, 231, 275, 281, 285, 299, 315, 317, 321, 335, 369, 389, 401, 405, 411, 419, 425, 491, 509, 545, 561, 587, 725, 741, 779, 789, 819, 855, 879, 909, 915, 977, 1007, 1019, 1059, 1115, 1145, 1161, 1199
OFFSET
1,3
LINKS
MAPLE
select(t->isprime(t^5+2), [$0..10000]); # Robert Israel, Jan 01 2021
MATHEMATICA
lst={}; Do[If[PrimeQ[n^5+2], AppendTo[lst, n]], {n, 0, 10^3}]; lst
PROG
(PARI) select(n->isprime(n^5+2), vector(2000, n, n-1)) /* Joerg Arndt, Sep 21 2012 */
CROSSREFS
Sequence in context: A027694 A063191 A329167 * A236390 A048464 A075824
KEYWORD
nonn
AUTHOR
Michel Lagneau, Sep 21 2012
STATUS
approved