OFFSET
0,2
MATHEMATICA
a = {}; Do[k = 0; While[ Count[ IntegerDigits[6^k], 0] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
With[{pwr6=Table[{n, DigitCount[6^n, 10, 0]}, {n, 1000}]}, Join[{0}, Transpose[ Table[ SelectFirst[pwr6, #[[2]]==i&], {i, 60}]][[1]]]] (* Harvey P. Dale, Dec 15 2014 *)
PROG
(PARI) A063596(n)=for(k=0, oo, #select(d->!d, digits(6^k))==n&&return(k)) \\ M. F. Hasler, Jun 14 2018
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Aug 10 2001
EXTENSIONS
STATUS
approved