login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A062522
5^a(n) is smallest nonnegative power of 5 containing the string 'n'.
2
8, 0, 2, 5, 11, 1, 4, 7, 7, 8, 14, 23, 3, 30, 12, 6, 20, 15, 22, 9, 13, 33, 13, 22, 12, 2, 18, 37, 11, 17, 15, 5, 19, 35, 19, 14, 20, 21, 18, 8, 12, 12, 37, 20, 12, 17, 18, 21, 11, 26, 23, 14, 16, 9, 30, 23, 6, 15, 16, 24, 24, 14, 4, 19, 20, 10, 31, 20, 21, 18, 13, 21, 18, 19, 20
OFFSET
0,1
COMMENTS
Table[k = 0; While[ StringPosition[ ToString[5^k], ToString[n]] == {}, k++ ]; k, {n, 0, 75} ]
CROSSREFS
Cf. A030000. Essentially the same as A063568.
Sequence in context: A329086 A342200 A265294 * A117888 A331542 A295330
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Jun 24 2001
STATUS
approved