Position of first zero digit in 5^n, counting from the right.

0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 4, 5, 8, 10, 4, 0, 0, 12, 4, 5, 6, 6, 4, 15, 16, 13, 4, 5, 0, 12, 4, 0, 9, 10, 4, 5, 6, 6, 4, 21, 15, 16, 4, 5, 18, 19, 4, 11, 13, 24, 4, 5, 6, 6, 4, 29, 0, 10, 4, 5, 18, 18, 4, 20, 19, 21, 4, 5, 6, 6, 4, 8, 8, 14, 4, 5, 8, 9, 4

0

Zero indicates that there are no zeros in the number. Is there a maximum value for this function? This question was discussed in MathOverflow.

T. D. Noe, Plot of 10001 terms

T. D. Noe, Table of 10001 terms

MathOverflow, Zeros in the representation of powers of 3

(Mma) Table[s = Position[Reverse[IntegerDigits[5^n]], 0]; If[Length[s] == 0, 0, s[[1, 1]]], {n, 0, 100}]

nonn,base

T. D. Noe, Oct 12 2014