OFFSET
1,1
COMMENTS
Primes p such that (p-1)^3+3 is prime.
Except for 3, all terms == 5 (mod 6).
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 17 is in the sequence because 17 is prime and (17-1)^3+3 = 4099 is prime.
MAPLE
select(p -> isprime((p-1)^3+3, [seq(ithprime(i), i=1..1000)]);
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Israel, Mar 11 2020
STATUS
approved