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”).

A063593
Smallest k such that 5^k has exactly n 8's in its decimal representation.
0
1, 7, 16, 11, 59, 43, 39, 44, 80, 117, 91, 75, 97, 114, 124, 139, 194, 171, 149, 243, 188, 242, 240, 248, 236, 283, 297, 334, 329, 273, 293, 389, 312, 322, 387, 436, 455, 443, 417, 427, 520, 498, 474, 448, 423, 480, 539, 569, 557, 548, 537
OFFSET
0,2
MATHEMATICA
a = {}; Do[k = 1; While[ Count[ IntegerDigits[5^k], 8] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
CROSSREFS
Sequence in context: A069526 A061039 A258771 * A070417 A101681 A067776
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Aug 10 2001
EXTENSIONS
Name corrected by Jon E. Schoenfield, Jun 26 2018
STATUS
approved