OFFSET
1,1
COMMENTS
Same as A257163 without its first term. - Jonathan Sondow, Oct 24 2015
The domain of k is not explicit. If the domain is all integers then the sequence A257163 is produced. In this sequence domain is all nonnegative integers. - Michael Somos, Oct 24 2015
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Table[3n^2+6n+5, {n, 0, 400}], PrimeQ] (* Harvey P. Dale, Oct 22 2016 *)
Select[Table[Total[Range[n, n+2]^2], {n, 0, 500}], PrimeQ] (* Harvey P. Dale, May 23 2021 *)
PROG
(PARI) select(isprime, vector(100, n, 3*n^2+2)) \\ Charles R Greathouse IV, Apr 17 2015
(Python)
from sympy import isprime
print(list(filter(isprime, (3*k**2+6*k+5 for k in range(350))))) # Michael S. Branicky, May 29 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Claudio Meller, Jun 25 2009
STATUS
approved