MathGroup Archive 2011

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

Search the Archive

Re: Bug in Sum?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg120026] Re: Bug in Sum?
  • From: Dario <dario.benedetti at aei.mpg.de>
  • Date: Wed, 6 Jul 2011 05:40:27 -0400 (EDT)

Thanks Phil, I tried both with version 7 (Mac and Windows) and 8 (Mac) and it doesn't work.

Bob, thanks for the suggestion, but the real problem is more complicated, I get some long and complicated output from some previous stuff, and as I couldn't sum it I discovered this bug.


> Works in version 6.0
> 
> In[1]:= Sum[1/(n (1 + n)) 1/((1 - x)^4), {n, 1, M}]
> $Version
> 
> Out[1]= M/((1 + M) (1 - x)^4)
> 
> Out[2]= "6.0 for Microsoft Windows (32-bit) (June 19,
> 2007)"
> 
> On Thu, Jun 30, 2011 at 6:29 AM, Bob Hanlon
> <hanlonr at cox.net> wrote:
> 
> >
> > 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 aei.mpg.de> 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: Trying to use ReplacePart
  • Next by Date: Re: How to write a "proper" math document
  • Previous by thread: Re: Bug in Sum?
  • Next by thread: Re: Bug in Sum?