A171838 Primes of the form 3*k^2 + 9*k + 5.
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
Links
- Jon E. Schoenfield, Table of n, a(n) for n = 1..10000
Programs
-
Magma
[3*n^2 +9*n +5: n in [0..250] | IsPrime(3*n^2 +9*n +5)]; // G. C. Greubel, Apr 29 2021
-
Mathematica
Select[Table[3n^2+9n+5, {n,0,200}], PrimeQ] (* Harvey P. Dale, Jul 18 2014 *)
-
PARI
for(n=0,99,if(isprime(t=12*n^2+18*n+5),print1(t", "))) \\ Charles R Greathouse IV, Apr 13 2012
-
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
Extensions
Definition simplified by Charles R Greathouse IV, Apr 13 2012
Comments