OFFSET
1,1
COMMENTS
Only primes p of the form 3k+2 can yield terms of this sequence (the only exception is a(2)=37, generated by p=3).
No prime of this sequence can generate another term in this sequence because all terms of this sequence are 1 modulo 3.
EXAMPLE
a(12) = 7004353 = 191^3 + 191^2 + 1.
MATHEMATICA
Select[Table[x^3+x^2+1, {x, Prime[Range[200]]}], PrimeQ] (* Harvey P. Dale, Jul 31 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Avik Roy (avik_3.1416(AT)yahoo.co.in), Jan 30 2009
EXTENSIONS
More terms from Harvey P. Dale, Jul 31 2014
STATUS
approved