OFFSET
0,2
MATHEMATICA
a = {}; Do[k = 1; While[ Count[ IntegerDigits[9^k], 6] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
Join[{1}, With[{k6=DigitCount[9^Range[0, 500], 10, 6]}, Flatten[Table[Position[k6, n, 1, 1], {n, 50}]]]-1] (* Harvey P. Dale, Jun 11 2024 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Aug 10 2001
EXTENSIONS
Name corrected by Jon E. Schoenfield, Jun 26 2018
STATUS
approved