OFFSET
1,1
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..15
MATHEMATICA
f[0]=8; f[n_]:=Module[{i=PrimePi[f[n-1]^(1/3)]+1},
While[StringPosition[ToString[Prime[i]^3], ToString[NextPrime[Prime[i]]]]=={}, i++]; Prime[i]^3]; f/@Range[7] (* Ivan N. Ianakiev, Nov 16 2016 *)
#^3&/@Select[Prime[Range[10^6]], SequenceCount[IntegerDigits[#^3], IntegerDigits[ NextPrime[ #]]]> 0&] (* Harvey P. Dale, Jul 29 2023 *)
CROSSREFS
KEYWORD
nonn,base,nice
AUTHOR
Patrick De Geest, Jan 15 2000
EXTENSIONS
More terms from Sam Handler (sam_5_5_5_0(AT)yahoo.com), Sep 12 2006
Definition clarified by Charles R Greathouse IV, Dec 24 2014
a(12) from Giovanni Resta, Jul 02 2018
STATUS
approved