OFFSET
1,1
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
EXAMPLE
2 is in the sequence because 2^3+2+91 = 101 is prime.
93 is in the sequence because 93^3+93+91 = 804541 is prime.
MAPLE
a:=proc(n) if isprime(n^3+n+91)=true then n else end if end proc: seq(a(n), n =1..300); # Emeric Deutsch, Jan 08 2008
MATHEMATICA
Select[Range[400], PrimeQ[ #^3 + # + 91] &] (* Stefan Steinerberger, Dec 24 2007 *)
PROG
(Magma) [ n: n in [0..400] | IsPrime(n^3+n+91) ]; // Vincenzo Librandi, Jan 31 2011
(PARI) is(n)=isprime(n^3+n+91) \\ Charles R Greathouse IV, Jun 06 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Dec 17 2007
EXTENSIONS
More terms from Stefan Steinerberger, Dec 24 2007
STATUS
approved