login
A171838
Primes of the form 3*k^2 + 9*k + 5.
1
5, 17, 59, 89, 167, 269, 467, 719, 1259, 1949, 2267, 2609, 2789, 3167, 3779, 4217, 4679, 4919, 5417, 5939, 7349, 7649, 9239, 10979, 11717, 12479, 14489, 15767, 16649, 17099, 18959, 21419, 21929, 24029, 25667, 28517, 31517, 34667, 35969, 36629
OFFSET
1,1
COMMENTS
Primes of the form 12*k^2 + 18*k + 5. - Charles R Greathouse IV, Apr 13 2012
LINKS
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
Sequence in context: A010914 A180502 A261515 * A105392 A090857 A287804
KEYWORD
nonn,easy,less
AUTHOR
EXTENSIONS
Definition simplified by Charles R Greathouse IV, Apr 13 2012
STATUS
approved