       Re: Fun with zero sums

• To: mathgroup at smc.vnet.net
• Subject: [mg77175] Re: Fun with zero sums
• From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
• Date: Tue, 5 Jun 2007 06:42:34 -0400 (EDT)
• Organization: The Open University, Milton Keynes, UK
• References: <f40hfg\$6km\$1@smc.vnet.net>

```David W.Cantrell wrote:
> I'm using Mathematica 5.2; if Mathematica 6 behaves differently, I'd be
> interested to know it.
>
> In:= Sum[0, {n, 1, Infinity}]
>
> Out= 0
>
> which is as, I think, it should be. But then we have the following sums,
> which all disappoint, in different ways.
>
> In:= Sum[0^n, {n, 1, Infinity}]
>
> Out= Sum[0^n, {n, 1, Infinity}]
>
> In:= Sum[0^(2*n - 1), {n, 1, Infinity}]
>
> Warning about "Infinite expression encountered."
>
> Out= ComplexInfinity
>
> In:= Sum[0^(2*n + 1), {n, 1, Infinity}]
>
> Warning about "Indeterminate expression encountered."
>
> Out= Indeterminate
>
> Of course, Out[2..4] should have been 0, just like Out.
>
> David W. Cantrell

Hi David,

Here is the results from version 6.

In:= Sum[0, {n, 1, Infinity}]

Out= 0

In:= Sum[0^n, {n, 1, Infinity}]

Out= 0

In:= Sum[0^(2*n - 1), {n, 1, Infinity}]

During evaluation of In:= Power::infy:Infinite expression 1/0 \
encountered. >>

Out= ComplexInfinity

In:= Sum[0^(2*n + 1), {n, 1, Infinity}]

During evaluation of In:= \[Infinity]::indet:Indeterminate \
expression 0 SymbolicSum`var\$202^2 \$Failed^2 \[Infinity] encountered. \
>>

Out= Indeterminate

Cheers,
Jean-Marc

```

• Prev by Date: Re: Linear algebra and machine precision
• Next by Date: modify elements of arb.dimensionality matrices
• Previous by thread: Re: Fun with zero sums
• Next by thread: Aligning ListPlots