The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A063622 Smallest k such that 8^k has exactly n 6's in its decimal representation. 0
1, 2, 8, 12, 20, 37, 24, 41, 65, 61, 64, 81, 83, 133, 74, 121, 100, 132, 141, 149, 126, 192, 168, 213, 185, 250, 212, 228, 202, 265, 276, 262, 270, 290, 344, 345, 309, 336, 358, 287, 351, 362, 332, 387, 364, 427, 361, 514, 480, 451, 442 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
MATHEMATICA
a = {}; Do[k = 1; While[ Count[ IntegerDigits[8^k], 6] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
With[{p8s=8^Range[700]}, IntegerExponent[#, 8]&/@Table[SelectFirst[ p8s, DigitCount[ #, 10, 6]==n&], {n, 0, 60}]] (* Harvey P. Dale, Jan 19 2015 *)
CROSSREFS
Sequence in context: A035405 A280867 A111058 * A162152 A280252 A013654
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Aug 10 2001
EXTENSIONS
Name corrected by Jon E. Schoenfield, Jun 26 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 3 20:36 EDT 2024. Contains 373088 sequences. (Running on oeis4.)