Question: Help with this indefinite sum

Given that
3*(sum(cot(m*Pi/(2*M+1))^2, m = 1 .. M))

is a polynomial of degree r in M, find r and the coefficient of M. (The coefficient is an integer)

Any ideas how to go about solving this problem? When i input this particular indefinite sum into Maple it does not generate a polynomial.

Please Wait...