OFFSET
0,2
MATHEMATICA
a = {}; Do[k = 1; While[ Count[ IntegerDigits[8^k], 3] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
With[{c8=8^Range[520]}, Flatten[Table[First[Position[c8, _?(DigitCount[#, 10, 3] == n&)]], {n, 0, 50}]]] (* Harvey P. Dale, Mar 13 2013 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Aug 10 2001
EXTENSIONS
Name corrected by Jon E. Schoenfield, Jun 26 2018
STATUS
approved