OFFSET
0,2
MATHEMATICA
a = {}; Do[k = 1; While[ Count[ IntegerDigits[9^k], 5] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
With[{p9=Table[{n, 9^n}, {n, 450}]}, Transpose[Table[SelectFirst[p9, DigitCount[ #[[2]], 10, 5]==i&], {i, 0, 50}]][[1]]] (* Harvey P. Dale, Nov 12 2015 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Aug 10 2001
EXTENSIONS
Name corrected by Jon E. Schoenfield, Jun 26 2018
STATUS
approved