OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
92^3 + 92^2 + 1 = 787153 (prime), so 92 is in the sequence.
MAPLE
a:=proc(n) if isprime(n^3+n^2+1)=true then n else fi end: seq(a(n), n=0..300); # Emeric Deutsch, Aug 04 2006
MATHEMATICA
Select[Range[300], PrimeQ[#^3+#^2+1]&] (* Harvey P. Dale, May 03 2014 *)
PROG
(PARI) is(n)=isprime(n^3+n^2+1) \\ Charles R Greathouse IV, Jan 21 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Jul 31 2006
EXTENSIONS
More terms from Emeric Deutsch and R. J. Mathar, Aug 04 2006
STATUS
approved