login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A063621
Smallest k such that 8^k has exactly n 5's in its decimal representation.
0
1, 3, 11, 13, 19, 23, 48, 36, 72, 86, 66, 67, 70, 103, 136, 123, 160, 106, 180, 154, 104, 187, 147, 211, 218, 212, 232, 255, 268, 250, 247, 230, 299, 269, 209, 331, 308, 289, 356, 345, 347, 367, 428, 393, 466, 360, 385, 493, 484, 476, 404
OFFSET
0,2
MATHEMATICA
a = {}; Do[k = 1; While[ Count[ IntegerDigits[8^k], 5] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
CROSSREFS
Sequence in context: A373471 A103835 A067386 * A176870 A089152 A066594
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Aug 10 2001
EXTENSIONS
Name corrected by Jon E. Schoenfield, Jun 26 2018
STATUS
approved