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!)
A063594 Smallest k such that 5^k has exactly n 9's in its decimal representation. 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; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
MATHEMATICA
a = {}; Do[k = 1; While[ Count[ IntegerDigits[5^k], 9] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
PROG
(PARI) a(n)={my(k=1); while(n<>#select(d->d==9, digits(5^k)), k++); k} \\ Harry J. Smith, Aug 26 2009, Andrew Howroyd, Jun 26 2018
CROSSREFS
Sequence in context: A088488 A031458 A044991 * A110474 A118066 A044060
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 May 6 16:43 EDT 2024. Contains 372296 sequences. (Running on oeis4.)