login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A126421 Numbers n for which n^3-n-1 is prime. 20
2, 3, 4, 8, 9, 11, 14, 15, 16, 18, 21, 23, 24, 29, 31, 35, 36, 38, 41, 45, 48, 55, 58, 59, 60, 64, 69, 70, 71, 76, 81, 86, 98, 104, 108, 111, 113, 115, 119, 123, 126, 128, 130, 136, 140, 150, 151, 155, 163, 168, 174, 176, 183, 184, 185, 186, 188, 189, 191, 203, 206 (list; graph; refs; listen; history; text; internal format)
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

Cf. A002327, A116581, A126420.

Sequence in context: A157318 A158031 A139461 * A116111 A253278 A184807

Adjacent sequences:  A126418 A126419 A126420 * A126422 A126423 A126424

KEYWORD

nonn

AUTHOR

Artur Jasinski, Dec 26 2006

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 22 22:34 EDT 2019. Contains 328335 sequences. (Running on oeis4.)