Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11032 > unrolled thread

Re: Bug in infinite sum

Started byBob Hanlon <hanlonr357@gmail.com>
First post2012-07-22 08:30 +0000
Last post2012-07-22 08:30 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Bug in infinite sum Bob Hanlon <hanlonr357@gmail.com> - 2012-07-22 08:30 +0000

#11032 — Re: Bug in infinite sum

FromBob Hanlon <hanlonr357@gmail.com>
Date2012-07-22 08:30 +0000
SubjectRe: Bug in infinite sum
Message-ID<jugdmp$eni$1@smc.vnet.net>
Must be a problem with the version that you are running.

$Version

"8.0 for Mac OS X x86 (64-bit) (October 5, 2011)"

s[x_] = Sum[Binomial[x, k], {k, 0, Infinity}]

2^x

u[x_] = Sum[Binomial[x, 2*k + 1], {k, 0, Infinity}]

2^(-1 + x)

g[x_] = Sum[Binomial[x, 2*k], {k, 0, Infinity}]

2^(-1 + x)

s[x] == u[x] + g[x]

True


Bob Hanlon


On Fri, Jul 20, 2012 at 11:42 PM, Dr. Wolfgang Hintze <weh@snafu.de> wrote:
> Consider this nice sum
>
> s[x_] = Sum[Binomial[x, k], {k, 0, Infinity}]
> 2^x
>
> and that, (with the odd terms only)
>
> u[x_] = Sum[Binomial[x, 2*k + 1], {k, 0, Infinity}]
> 2^(-1 + x)
>
> But now the even terms only ... and the surprise:
> g[x_] = Sum[Binomial[x, 2*k], {k, 0, Infinity}]
>
> (Sqrt[Pi]*Gamma[1 + x]*GegenbauerC[x, 1/2 - x, 1])/
>   (2^x*Gamma[1/2 + x])
>
> looks complicated, but let's see
> FullSimplify[g[x], x > 0]
>
> 2^x*Cos[Pi*x]
>
> much simpler, but definitely wrong (giving e.g. 0 for x=1/2)
> Of course g should be s - u = 2^x -1/2 2^s = 1/2 2^s.
>
> Best regards,
> Wolfgang
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web