OFFSET
1,1
COMMENTS
Primes p such that 4*p+9 and 16*p+45 are also primes. - Vincenzo Librandi, Aug 04 2010
LINKS
John Cerkan, Table of n, a(n) for n = 1..10000
MATHEMATICA
rpQ[n_]:=AllTrue[Rest[NestList[4#+9&, n, 2]], PrimeQ]; Select[Prime[ Range[ 500]], rpQ] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, May 03 2019 *)
PROG
(Magma) [n: n in [0..100000] | IsPrime(n) and IsPrime(4*n+9) and IsPrime(16*n+45)] // Vincenzo Librandi, Aug 04 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved