MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Bug in Sum?

For a workaround, generalize the problem

Sum[1/(n (1 + n)) 1/((1 - x)^r), {n, 1, M}]

M/((1 - x)^r*(1 + M))

% /. r -> 4

M/((1 + M)*(1 - x)^4)

Bob Hanlon

---- Dario <dario.benedetti at> wrote: 

I am very puzzled by the fact that Mathematica does not evaluate the following Sum (it keeps running endlessly):

Sum[1/(n  (1 + n)) 1/((1 - x)^4) , {n, 1, M}]

where x and M are some undefined variables,

but it does evaluate

Sum[1/(n  (1 + n)) 1/((1 - x)^2) , {n, 1, M}]

where I have only changed the power of (1-x), which should not matter as it must factor out!

Any help on this please?

  • Prev by Date: Re: How to find the difference between two lists (opposite of union[]?)
  • Next by Date: Reading Data Table
  • Previous by thread: Bug in Sum?
  • Next by thread: Re: Bug in Sum?