OFFSET
1,1
COMMENTS
Primes p such that 7*p+6 and 49*p+48 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 9 (mod 10) for n > 1. - John Cerkan, Sep 14 2016
MATHEMATICA
Select[Prime[Range[600]], AllTrue[Rest[NestList[7#+6&, #, 2]], PrimeQ]&] (* Harvey P. Dale, Jan 26 2024 *)
PROG
(Magma) [n: n in [1..100000] | IsPrime(n) and IsPrime(7*n+6) and IsPrime(49*n+48)] // Vincenzo Librandi, Aug 04 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved