For what $n$ the following is true: $$\left[\dfrac{n}{5}\right]+\left[\dfrac{n}{5^2}\right]+\left[\dfrac{n}{5^3}\right]+\cdots=100$$
My sketch: We know that $[x]\leq x<[x]+1$ for any real $x$. Also its obvious that above sum is finite. We can estimate this sum: $$100\leq \dfrac{n}{5}+\dfrac{n}{5^2}+\cdots=\sum \limits_{k=1}^{\infty}\dfrac{n}{5^k}=n/4$$ Hence $n>400$.
I check this out on the computer and yielded that it's true for $n\in \{405, 406, 407, 408,409\}$. Why my estimate is wrong?