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”).

A261536
Primes p such that p^5 + 2 is also prime.
3
11, 149, 179, 197, 281, 317, 389, 401, 419, 491, 509, 587, 977, 1019, 1217, 1289, 1367, 1499, 1607, 1637, 2039, 2111, 2339, 2459, 2609, 2801, 2897, 3119, 3221, 3359, 3701, 3767, 3917, 4451, 4517, 4871, 5237, 5531, 5717, 5879, 5927, 6197, 6311, 6959, 7151
OFFSET
1,1
COMMENTS
Subsequence of primes of A216976. - Michel Marcus, Aug 24 2015
All terms == 5 (mod 6). - Robert Israel, Sep 22 2019
LINKS
EXAMPLE
11^5 + 2 = 161053 is a prime.
MAPLE
filter:= proc(p) isprime(p) and isprime(p^5+2) end proc:
select(filter, [seq(i, i=5..10000, 6)]); # Robert Israel, Sep 22 2019
MATHEMATICA
Select[Prime[Range[1000]], PrimeQ[#^5 + 2] &]
PROG
(Magma) [p: p in PrimesUpTo(12000) | IsPrime(p^5+2)];
CROSSREFS
Cf. primes p such that p^k+2 is also prime: A001359 (k=1), A048637 (k=3), this sequence (k=5), A261537 (k=7), A261538 (k=9).
Cf. A000040.
Sequence in context: A367790 A296143 A217722 * A175635 A103544 A038141
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Aug 24 2015
STATUS
approved