|
Search: id:A063430
|
|
|
| A063430 |
|
Smallest power of 2 having just n 4's in its decimal representation. |
|
+0 1
|
|
| 1, 2, 18, 22, 64, 91, 117, 111, 164, 138, 182, 233, 219, 253, 343, 266, 264, 321, 315, 331, 450, 349, 451, 469, 553, 504, 510, 687, 592, 630, 710, 744, 808, 767, 828, 889, 722, 951, 789, 942, 918, 964, 1066, 1033, 890, 1183, 1263, 1171, 1229, 1130, 1291
(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], 4] != 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, p=1; while (Count(2^p, 4) != n, p++); write("b063430.txt", n, " ", p) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Aug 20 2009]
|
|
CROSSREFS
|
Sequence in context: A022371 A092587 A015787 this_sequence A031104 A115042 A098561
Adjacent sequences: A063427 A063428 A063429 this_sequence A063431 A063432 A063433
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 10 2001
|
|
|
Search completed in 0.002 seconds
|