OFFSET
1,1
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
MATHEMATICA
a = {}; Do[If[PrimeQ[x^3 - x - 1], AppendTo[a, x]], {x, 1, 1000}]; a
Select[Range[300], PrimeQ[#^3-#-1]&] (* Harvey P. Dale, Jul 22 2013 *)
PROG
(PARI) is(n)=isprime(n^3-n-1) \\ Charles R Greathouse IV, Apr 29 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Dec 26 2006
STATUS
approved