cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A038599 Numbers k such that k^3 - 2 is prime.

This page as a plain text file.
%I A038599 #28 Oct 02 2021 15:21:46
%S A038599 9,15,19,27,31,37,67,91,99,109,121,129,135,145,151,165,187,189,201,
%T A038599 207,211,217,241,259,265,267,277,279,289,319,355,357,367,369,387,391,
%U A038599 411,417,427,435,439,445,457,459,477,489,511,525,549,555,561,615,619,621
%N A038599 Numbers k such that k^3 - 2 is prime.
%H A038599 Nathaniel Johnston, <a href="/A038599/b038599.txt">Table of n, a(n) for n = 1..10000</a>
%F A038599 a(n) = (A038600(n)+2)^(1/3). - _Zak Seidov_, May 10 2016
%e A038599 15^3 - 2 = 3373 is prime, so 15 is in the sequence.
%t A038599 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 *)
%t A038599 Select[Range@ 640, PrimeQ[#^3 - 2] &] (* _Michael De Vlieger_, May 10 2016 *)
%o A038599 (PARI) is(n)=isprime(n^3-2) \\ _Charles R Greathouse IV_, Feb 17 2017
%Y A038599 Cf. A038600, A028870, A028873.
%K A038599 nonn
%O A038599 1,1
%A A038599 _Jeff Burch_
%E A038599 Missed term, 207, and more terms added by _Zak Seidov_, Mar 14 2009