OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
lst={}; Do[If[Plus@@Last/@FactorInteger[n^2 + n + 1] == 2, AppendTo[lst, n]], {n, 0, 150}]; lst (* Vincenzo Librandi, Sep 22 2012 *)
Select[Range[150], PrimeOmega[#^2+#+1]==2&] (* Harvey P. Dale, Dec 07 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Jul 21 2003
STATUS
approved