OFFSET
1,1
EXAMPLE
a(1)=29 because 31, 18*29^2 + 1 = 15139, and 18*31^2 + 1 = 17299 are all primes.
PROG
(Magma) [p: p in PrimesUpTo(200000)| IsPrime(p+2) and IsPrime(18*p^2+1) and IsPrime(18*(p+2)^2+1)] // Vincenzo Librandi, Nov 13 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Jan 19 2006
EXTENSIONS
More terms from Vincenzo Librandi, Mar 27 2010
STATUS
approved