OFFSET
1,1
COMMENTS
Primes p such that 3*p+4, 9*p+16 and 27*p+52 are also primes. - Vincenzo Librandi, Aug 04 2010
LINKS
John Cerkan, Table of n, a(n) for n = 1..10000
FORMULA
a(n) == 3 (mod 10). - John Cerkan, Sep 16 2016
MATHEMATICA
Select[Prime@ Range[10^4], Times @@ Boole@ PrimeQ@ Rest@ NestList[3 # + 4 &, #, 3] > 0 &] (* Michael De Vlieger, Sep 19 2016 *)
PROG
(Magma) [n: n in [1..150000] | IsPrime(n) and IsPrime(3*n+4) and IsPrime(9*n+16) and IsPrime(27*n+52)] // Vincenzo Librandi, Aug 04 2010
(PARI) is(n)=isprime(n) && isprime(3*n+4) && isprime(9*n+16) && isprime(27*n+52) \\ Charles R Greathouse IV, Sep 20 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved