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

0, 0, 0, 0, 3, 0, 0, 6, 0, 0, 9, 0, 0, 0, 2, 6, 4, 0, 8, 9, 8, 2, 5, 8, 0, 5, 14, 0, 12, 4, 13, 15, 4, 5, 2, 3, 7, 3, 4, 3, 7, 2, 6, 37, 11, 6, 4, 12, 4, 9, 27, 9, 21, 14, 2, 18, 5, 6, 15, 4, 5, 2, 7, 8, 9, 5, 8, 5, 3, 17, 3, 11, 7, 4, 2, 7, 22, 24, 12, 13, 11

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 S000286(3n).

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

nonn,base

T. D. Noe, Oct 12 2014