OFFSET
1,1
COMMENTS
Primes in A098547. - Michel Marcus, Jan 21 2015
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
1^3 + 1^2 + 1 = 3 (prime), so 3 is in the sequence.
2^3 + 2^2 + 1 = 13 (prime), so 13 is in the sequence.
3^3 + 3^2 + 1 = 37 (prime), so 37 is in the sequence.
4^3 + 4^2 + 1 = 81 = 3^4, so 81 is not in the sequence.
5^3 + 5^2 + 1 = 151 (prime), so 151 is in the sequence.
MATHEMATICA
Select[Table[n^3+n^2+1, {n, 200}], PrimeQ] (* Harvey P. Dale, Oct 23 2020 *)
PROG
(PARI) for(n=1, 10^3, if(isprime(p=n^3+n^2+1), print1(p, ", "))) \\ Derek Orr, Jan 21 2015
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Jul 21 2006
STATUS
approved