|
Search: id:A063526
|
|
|
| A063526 |
|
Smallest power of 2 having just n 5's in its decimal representation. |
|
+0 1
|
|
| 1, 8, 16, 39, 41, 68, 131, 108, 142, 178, 198, 201, 167, 215, 283, 344, 367, 318, 404, 428, 312, 461, 441, 556, 506, 562, 536, 716, 652, 679, 733, 690, 575, 807, 627, 949, 811, 867, 932, 1035, 1003, 1088, 893, 1112, 1193, 1080, 1127, 1094, 1016, 1283
(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], 5] != 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, 5) != n, a++); write("b063526.txt", n, " ", a) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Aug 25 2009]
|
|
CROSSREFS
|
Sequence in context: A058516 A054301 A057584 this_sequence A156331 A024700 A108576
Adjacent sequences: A063523 A063524 A063525 this_sequence A063527 A063528 A063529
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 10 2001
|
|
|
Search completed in 0.002 seconds
|