Bug introduced in 7.0 or earlier and fixed in 11.0.1
When I try to evaluate the following:
$$\sum_{k=1}^{\infty }\Bigg\lfloor\frac{5}{5^k}\Bigg\rfloor$$
using
Sum[Floor[5/5^k], {k, 1, ∞}]
Mathematica provides an answer of $0$ when it clearly should be $1$. Using any finite limit for the summation, however, provides the correct answer. Why does this happen?
Sum[Floor[5/5^k], {k, 0, \[Infinity]}]
gives the expected6
, whileSum[Floor[5/5^k], {k, a, Infinity}]
gives 0 for all largera
I've tested. $\endgroup$0
. I don't have any insight into why it misses thek == 1
case when doing it symbolically. Tagging as bug. $\endgroup$Sum[Floor[5/5^k], {k, 1, 10^20}]
gives0
. ButSum[Floor[5/5^k], {k, 0.99999999, Infinity}]
gives1
. Definitely bug $\endgroup$