[go: up one dir, main page]

login
A063560
Smallest k such that 3^k has exactly n 5's in its decimal representation.
0
1, 8, 26, 35, 40, 39, 71, 70, 33, 111, 109, 129, 161, 151, 213, 273, 246, 281, 304, 241, 293, 321, 312, 363, 364, 376, 444, 450, 474, 400, 561, 565, 494, 576, 544, 537, 556, 581, 637, 625, 689, 726, 538, 624, 725, 799, 744, 814, 727, 888, 819
OFFSET
0,2
MATHEMATICA
a = {}; Do[k = 1; While[ Count[ IntegerDigits[3^k], 5] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
CROSSREFS
Sequence in context: A200785 A120743 A345205 * A265104 A328205 A304910
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Aug 10 2001
EXTENSIONS
Name corrected by Jon E. Schoenfield, Jun 26 2018
STATUS
approved