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!)
A063540 Smallest k such that 2^k has exactly n 6's in its decimal representation. 9
1, 4, 16, 36, 60, 100, 72, 123, 124, 161, 157, 243, 196, 230, 222, 220, 300, 323, 361, 447, 378, 551, 433, 506, 555, 565, 636, 508, 606, 662, 701, 778, 810, 746, 823, 839, 850, 977, 1074, 861, 1046, 1086, 996, 1161, 1067, 1168, 1083, 983, 1223, 1252, 1303 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
MATHEMATICA
a = {}; Do[k = 1; While[ Count[ IntegerDigits[2^k], 6] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
PROG
(PARI) a(n)={my(k=1); while(n<>#select(d->d==6, digits(2^k)), k++); k} \\ Harry J. Smith, Aug 25 2009, Andrew Howroyd, Jun 26 2018
CROSSREFS
Sequence in context: A174597 A044065 A281795 * A349223 A055808 A016742
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Aug 10 2001
EXTENSIONS
Name corrected by Jon E. Schoenfield, Jun 25 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 April 23 13:51 EDT 2024. Contains 371914 sequences. (Running on oeis4.)