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

0, 0, 0, 0, 0, 3, 0, 0, 6, 4, 2, 2, 0, 0, 0, 6, 10, 0, 15, 3, 2, 2, 14, 6, 8, 4, 21, 4, 13, 5, 2, 2, 6, 5, 0, 6, 13, 10, 15, 8, 2, 2, 5, 13, 4, 6, 3, 23, 7, 9, 2, 2, 3, 17, 16, 3, 13, 4, 5, 8, 2, 2, 13, 12, 6, 16, 30, 15, 57, 3, 2, 2, 25, 6, 5, 8, 23, 5, 24, 7, 2

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. The number a(n) is the same as S000287(2n).

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[9^n]], 0]; If[Length[s] == 0, 0, s[[1, 1]]], {n, 0, 100}]

nonn,base

T. D. Noe, Oct 12 2014