On Mathematica 8 the following sum
Sum[Floor[2/2^p], {p, 1, Infinity}]
evaluates to 0, which is obviously wrong.
Sum[Floor[2/2^p], {p, 1, 10}]
evaluates correctly to 1.
On Mathematica 8 the following sum
Sum[Floor[2/2^p], {p, 1, Infinity}]
evaluates to 0, which is obviously wrong.
Sum[Floor[2/2^p], {p, 1, 10}]
evaluates correctly to 1.
Seems like a bug to me.
Sum[Floor[2^-p], {p, 0, Infinity}]
(* 0 *)
Sum[Floor[2^-p], {p, #, Infinity}] & /@ {-1, 0, 1}
(* {3, 0, 0} *)
Strangely enough, this works:
Sum[Floor[2^-p], {p, {-1, 0, 1}, Infinity}]
(* {3, 1, 0} *)
Thank you for pointing this out.
Reports of incorrect behavior are best handled by sending the
information to support@wolfram.com or using the feedback form at
Contact Wolfram Support by Email or Phone.
This has been passed on to the Technical Support group for
processing.