OFFSET
1,1
COMMENTS
Primes p such that 6*p+5, 36*p+35, 216*p+215, 1296*p+1295 and 7776*p+7775 are also primes. - Vincenzo Librandi, Aug 05 2010
LINKS
John Cerkan, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[1100000], And@@PrimeQ[NestList[6#+5&, #, 5]]&] (* Harvey P. Dale, Mar 31 2012 *)
PROG
(Magma) [n: n in [1..10000000] | IsPrime(n) and IsPrime(6*n+5) and IsPrime(36*n+35) and IsPrime(216*n+215) and IsPrime(1296*n+1295) and IsPrime(7776*n+7775)] // Vincenzo Librandi, Aug 05 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved