OFFSET
1,1
COMMENTS
Primes p such that 8*p+9 and 64*p+81 are also primes. - Vincenzo Librandi, Aug 04 2010
LINKS
John Cerkan, Table of n, a(n) for n = 1..10000
FORMULA
a(n) == 3 or 9 (mod 10). - John Cerkan, Sep 16 2016
MATHEMATICA
Select[Prime[Range[1000]], AllTrue[Rest[NestList[8#+9&, #, 2]], PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Sep 26 2016 *)
PROG
(Magma) [n: n in [1..100000] | IsPrime(n) and IsPrime(8*n+9) and IsPrime(64*n+81)] // Vincenzo Librandi, Aug 04 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved