login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A063625
Smallest k such that 8^k has exactly n 9's in its decimal representation.
0
1, 4, 17, 11, 30, 40, 55, 50, 31, 89, 62, 103, 85, 115, 114, 118, 111, 157, 135, 160, 174, 177, 159, 172, 215, 208, 247, 241, 266, 273, 307, 243, 201, 245, 297, 282, 264, 322, 320, 391, 363, 428, 377, 416, 413, 359, 393, 414, 479, 457, 422
OFFSET
0,2
MATHEMATICA
a = {}; Do[k = 1; While[ Count[ IntegerDigits[8^k], 9] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
CROSSREFS
Sequence in context: A195881 A264217 A341442 * A373414 A241257 A057596
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Aug 10 2001
EXTENSIONS
Name corrected by Jon E. Schoenfield, Jun 26 2018
STATUS
approved