OFFSET
0,2
MATHEMATICA
a = {}; Do[k = 1; While[ Count[ IntegerDigits[6^k], 4] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
Module[{nn=60, k6=6^Range[500]}, Table[Position[k6, _?(DigitCount[#, 10, 4]== n&), 1, 1], {n, 0, nn}]]//Flatten (* Harvey P. Dale, Jun 26 2022 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Aug 10 2001
EXTENSIONS
Name corrected by Jon E. Schoenfield, Jun 26 2018
STATUS
approved