OFFSET
1,2
COMMENTS
All n are {2,4} (mod 6), as in A047235, because otherwise 2*n^2 + 3*n + 3 is a multiple of 2 or 3. - R. J. Mathar, Jul 17 2012
FORMULA
a(n) = A096691(n)*2.
MATHEMATICA
f[n_]:=n^2+(n+1)^2+(n+2); lst={}; Do[p=f[n]; If[PrimeQ[p], AppendTo[lst, n]], {n, 0, 6!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jul 04 2009 *)
Select[Range[0, 500], PrimeQ[2#^2+3#+3]&] (* Harvey P. Dale, Jul 19 2011 *)
PROG
(PARI) is(n)=isprime(2*n^2+3*n+3) \\ Charles R Greathouse IV, May 22 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Ray Chandler, Jul 12 2004
STATUS
approved