OFFSET
1,2
LINKS
Zak Seidov, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A002328(n)-2. - R. J. Mathar, Aug 08 2012
MATHEMATICA
Select[ Range[150], PrimeQ[ #^2 + 3# + 1] &] (* Robert G. Wilson v, May 29 2004 *)
PROG
(Magma) [n: n in [0..200] | IsPrime(n^2 + 3*n + 1)]; // Vincenzo Librandi, Nov 11 2014
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, May 27 2004
EXTENSIONS
Edited and extended by Robert G. Wilson v, May 29 2004
STATUS
approved