Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue with Sum of Floors in Mathematica

I'm using Mathematica 8. When I try the command

Sum[r^n Floor[n/2], {n, 0, Infinity}]

I get

r^2/((-1 + r)^2 (1 + r)) 

which is correct, but starting from 1 instead of 0:

Sum[r^n Floor[n/2], {n, 1, Infinity}]

gives

r/((-1 + r)^2 (1 + r))

which is not. What's going on?

like image 273
Andrew Avatar asked Dec 31 '11 22:12

Andrew


1 Answers

This is a bug. Please submit bug report to WRI (email: [email protected])

like image 116
Nasser Avatar answered Oct 13 '22 00:10

Nasser