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