|
Search: id:A063552
|
|
|
| A063552 |
|
Smallest power of 2 having just n 7's in its decimal representation. |
|
+0 1
|
|
| 1, 15, 27, 24, 46, 75, 116, 152, 157, 170, 181, 237, 297, 282, 360, 214, 317, 380, 475, 311, 417, 440, 424, 538, 535, 427, 474, 632, 654, 651, 810, 766, 832, 626, 848, 824, 780, 931, 897, 992, 889, 1004, 981, 1079, 1087, 1123, 1224, 1186, 892, 1174, 1200
(list; graph; listen)
|
|
|
OFFSET
|
0,2
|
|
|
LINKS
|
Harry J. Smith, Table of n, a(n) for n=0,...,150
|
|
MATHEMATICA
|
a = {}; Do[k = 1; While[ Count[ IntegerDigits[2^k], 7] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
|
|
PROGRAM
|
(PARI) Count(x, d)= { local(c, f); c=0; while (x>9, f=x-10*(x\10); if (f==d, c++); x\=10); if (x==d, c++); return(c) } { for (n=0, 150, a=1; while (Count(2^a, 7) != n, a++); write("b063552.txt", n, " ", a) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Aug 26 2009]
|
|
CROSSREFS
|
Sequence in context: A097963 A063936 A132452 this_sequence A131541 A080945 A080946
Adjacent sequences: A063549 A063550 A063551 this_sequence A063553 A063554 A063555
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 10 2001
|
|
|
Search completed in 0.002 seconds
|