OFFSET
0,14
COMMENTS
Probably a(58) is the last 0 term.
LINKS
Zak Seidov, Table of n, a(n) for n = 0..1000
FORMULA
EXAMPLE
5^57 = 6938893903907228377647697925567626953125, 2 zeros hence a(57) = 2,
5^58 = 34694469519536141888238489627838134765625, no zeros hence a(58) = 0,
5^59 = 173472347597680709441192448139190673828125, 3 zeros hence a(59) = 3.
MATHEMATICA
Table[Count[IntegerDigits[5^n], 0], {n, 0, 200}]
PROG
(PARI) a(n) = my(d = digits(5^n)); sum(i=1, #d, d[i] == 0); \\ Michel Marcus, Jan 15 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zak Seidov, Jan 07 2015
STATUS
approved