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

A063613
Smallest k such that 7^k has exactly n 7's in its decimal representation.
0
2, 1, 14, 11, 26, 29, 49, 33, 67, 81, 84, 96, 101, 95, 89, 132, 163, 160, 137, 152, 185, 177, 195, 230, 205, 188, 214, 267, 274, 288, 325, 307, 286, 285, 270, 311, 324, 353, 318, 336, 309, 329, 403, 375, 432, 436, 447, 479, 401, 459, 491
OFFSET
0,1
MATHEMATICA
a = {}; Do[k = 1; While[ Count[ IntegerDigits[7^k], 7] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
Module[{p7=DigitCount[#, 10, 7]&/@(7^Range[500])}, Table[Position[p7, n, {1}, 1], {n, 0, 50}]]//Flatten (* Harvey P. Dale, Apr 08 2017 *)
CROSSREFS
Sequence in context: A187920 A307804 A338207 * A245733 A276851 A080346
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Aug 10 2001
EXTENSIONS
Name corrected by Jon E. Schoenfield, Jun 26 2018
STATUS
approved