login
A153323
Primes p such that p^3 - 24 and p^3 + 24 are also primes.
1
5, 17, 67, 107, 113, 317, 373, 577, 883, 1163, 1373, 1597, 2333, 3217, 3797, 4787, 6067, 7283, 8363, 8747, 9677, 9967, 10247, 13577, 13697, 13907, 14207, 15973, 16787, 16843, 16937, 17107, 18637, 18757, 20347, 20477, 21323, 21493, 21737
OFFSET
1,1
MATHEMATICA
fQ[n_]:=PrimeQ[n^3-24]&&PrimeQ[n^3+24]; lst={}; Do[If[fQ@Prime[n], AppendTo[lst, Prime[n]]], {n, 8!}]; lst
PROG
(Magma) [p: p in PrimesUpTo(50000)|IsPrime(p^3-24) and IsPrime(p^3+24)] // Vincenzo Librandi, Jan 30 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved