OFFSET
1,1
COMMENTS
Primes of the form 12*k^2 + 18*k + 5. - Charles R Greathouse IV, Apr 13 2012
LINKS
Jon E. Schoenfield, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Table[3n^2+9n+5, {n, 0, 200}], PrimeQ] (* Harvey P. Dale, Jul 18 2014 *)
PROG
(PARI) for(n=0, 99, if(isprime(t=12*n^2+18*n+5), print1(t", "))) \\ Charles R Greathouse IV, Apr 13 2012
(Magma) [3*n^2 +9*n +5: n in [0..250] | IsPrime(3*n^2 +9*n +5)]; // G. C. Greubel, Apr 29 2021
(Sage) [3*n^2 +9*n +5 for n in (0..250) if is_prime(3*n^2 +9*n +5)] # G. C. Greubel, Apr 29 2021
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Vladimir Joseph Stephan Orlovsky, Dec 19 2009
EXTENSIONS
Definition simplified by Charles R Greathouse IV, Apr 13 2012
STATUS
approved