|
Search: id:A063594
|
|
|
| A063594 |
|
Smallest power of 5 having just n 9's in its decimal representation. |
|
+0 1
|
|
| 1, 8, 17, 23, 58, 59, 40, 57, 74, 92, 93, 114, 112, 143, 155, 156, 160, 193, 113, 195, 212, 214, 215, 236, 216, 287, 291, 295, 309, 289, 288, 360, 274, 371, 427, 418, 444, 462, 478, 464, 466, 494, 530, 545, 482, 561, 481, 597, 644, 689, 650
(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[5^k], 9] != 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(5^a, 9) != n, a++); write("b063594.txt", n, " ", a) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Aug 26 2009]
|
|
CROSSREFS
|
Sequence in context: A088488 A031458 A044991 this_sequence A110474 A118066 A044060
Adjacent sequences: A063591 A063592 A063593 this_sequence A063595 A063596 A063597
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 10 2001
|
|
|
Search completed in 0.002 seconds
|