OFFSET
1,1
LINKS
John Cerkan, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A029946(n)^3. - Michel Marcus, May 04 2017
MATHEMATICA
Table[Function[p, k = 1; While[Length@ SequencePosition[ IntegerDigits[Set[c, k^3]], p] == 0, k++]; c]@ IntegerDigits@ Prime@ n, {n, 32}] (* Michael De Vlieger, May 04 2017, Version 10.1 *)
Module[{nn=300, cbs}, cbs=Range[nn]^3; Table[SelectFirst[cbs, SequenceCount[IntegerDigits[#], IntegerDigits[p]]>0&], {p, Prime[Range[40]]}]] (* Harvey P. Dale, Nov 19 2024 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved