OFFSET
1,1
COMMENTS
Primes p such that 2*p+5, 4*p+15 and 8*p+35 are also primes. - Vincenzo Librandi, Aug 04 2010
LINKS
John Cerkan, Table of n, a(n) for n = 1..10000
FORMULA
a(n) == 1 (mod 6). - John Cerkan, Sep 16 2016
MAPLE
select(t -> isprime(t) and isprime(2*t+5) and isprime(4*t+15) and isprime(8*t+35), [seq(t, t=7..20000, 6)]); # Robert Israel, Sep 18 2016
MATHEMATICA
Select[Prime@ Range@ 2100, Times @@ Boole@ PrimeQ@ Rest@ NestList[2 # + 5 &, #, 3] > 0 &] (* Michael De Vlieger, Sep 16 2016 *)
PROG
(Magma) [n: n in [1..100000] | IsPrime(n) and IsPrime(2*n+5) and IsPrime(4*n+15) and IsPrime(8*n+35)] // Vincenzo Librandi, Aug 04 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved