OFFSET
1,1
COMMENTS
Primes p such that 3*p+2 and 9*p+8 are also primes. - Vincenzo Librandi, Aug 04 2010
All terms after the first == 7 or 9 (mod 10). - Robert Israel, Sep 12 2016
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
select(t -> isprime(t) and isprime(3*t+2) and isprime(9*t+8), [5, seq(seq(10*i+j, j=[7, 9]), i=0..10^4)]); # Robert Israel, Sep 12 2016
MATHEMATICA
Select[Prime[Range[750]], And@@PrimeQ[Rest[NestList[3#+2&, #, 2]]]&] (* Harvey P. Dale, May 05 2014 *)
PROG
(Magma) [n: n in [0..100000] | IsPrime(n) and IsPrime(3*n+2) and IsPrime(9*n+8)] // Vincenzo Librandi, Aug 04 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved