OFFSET
0,26
COMMENTS
EXAMPLE
0^3 = 0, 1^3 = 1, 2^3 = 8 and 3^3 = 27 all have a(0) = a(1) = a(2) = a(3) = 0 digits '5'.
5^3 = 125 has a(5) = 1 digit '5'.
MATHEMATICA
Table[DigitCount[n^3, 10, 5], {n, 0, 100}] (* Robert Price, Mar 21 2020 *)
PROG
(PARI) A269245(n)=#select(t->t==5, digits(n^3))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Feb 20 2016
STATUS
approved