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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A038599 Numbers n such that n^3 - 2 is prime. 17
9, 15, 19, 27, 31, 37, 67, 91, 99, 109, 121, 129, 135, 145, 151, 165, 187, 189, 201, 207, 211, 217, 241, 259, 265, 267, 277, 279, 289, 319, 355, 357, 367, 369, 387, 391, 411, 417, 427, 435, 439, 445, 457, 459, 477, 489, 511, 525, 549, 555, 561, 615, 619, 621 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Nathaniel Johnston, Table of n, a(n) for n = 1..10000

FORMULA

a(n) = (A038600(n)+2)^(1/3). - Zak Seidov, May 10 2016

EXAMPLE

15^3 - 2 = 3373 is prime, so 15 is in the sequence.

MATHEMATICA

a[n_]:=n^x-y; lst={}; x=3; y=2; Do[If[PrimeQ[a[n]], AppendTo[lst, n]], {n, 0, 6!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jan 03 2009 *)

Select[Range@ 640, PrimeQ[#^3 - 2] &] (* Michael De Vlieger, May 10 2016 *)

PROG

(PARI) is(n)=isprime(n^3-2) \\ Charles R Greathouse IV, Feb 17 2017

CROSSREFS

Cf. A038600, A028870, A028873.

Sequence in context: A266419 A161163 A058211 * A321342 A255763 A079364

Adjacent sequences:  A038596 A038597 A038598 * A038600 A038601 A038602

KEYWORD

nonn

AUTHOR

Jeff Burch

EXTENSIONS

Missed term, 207, and more terms added by Zak Seidov, Mar 14 2009

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 April 20 02:06 EDT 2019. Contains 322291 sequences. (Running on oeis4.)