login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A105645
Numbers n such that the n-th prime - n is a cube.
1
1, 2, 38, 152, 542, 746, 1632, 2243, 5317, 7520, 15006, 33156, 39925, 101946, 130340, 136572, 331757, 397252, 560017, 722898, 1037524, 1197551, 1737710, 1754109, 2160356, 2217439, 2559702, 2820804, 5173565, 6197364, 7014969, 7597461
OFFSET
1,2
COMMENTS
Corresponding cubes are: {1,1,5,9,15,17,23,26,36,41,53,71,76}^3. Cf. A064370: numbers n such that the n-th prime - n is a square.
MATHEMATICA
Transpose[Select[Table[{Prime[n], n}, {n, 76*10^5}], IntegerQ[Surd[#[[1]]- #[[2]], 3]]&]][[2]] (* Harvey P. Dale, Jun 22 2016 *)
PROG
(PARI) isok(n) = ispower(prime(n)-n, 3); \\ Michel Marcus, Oct 05 2013
CROSSREFS
Cf. A064370.
Sequence in context: A050248 A337773 A364714 * A098456 A214909 A226402
KEYWORD
nonn
AUTHOR
Zak Seidov, May 03 2005
EXTENSIONS
a(14)-a(32) from Donovan Johnson, Dec 02 2009
STATUS
approved