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