login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A038599 Numbers k such that k^3 - 2 is prime. 19
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
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
Sequence in context: A266419 A161163 A058211 * A330438 A321342 A338599
KEYWORD
nonn
AUTHOR
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 20 15:17 EDT 2024. Contains 374459 sequences. (Running on oeis4.)