MathGroup Archive 2007

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

Search the Archive

Re: binomial sum bug

  • To: mathgroup at smc.vnet.net
  • Subject: [mg82592] Re: binomial sum bug
  • From: Peter Breitfeld <phbrf at t-online.de>
  • Date: Fri, 26 Oct 2007 05:10:04 -0400 (EDT)
  • References: <ffpq7m$lf7$1@smc.vnet.net>

Jack Kennedy schrieb:
> In:  Sum[Binomial[5,2k],{k,0,5}]
> Out: 16
>
> In:  Sum[Binomial[n,2k],{k,0,n}] /. n->5
> Out:  -16
>
> What the?
>
> This has been addressed before 
> about a year ago and a work around was posted
> but I have two questions:
>
> 1. Was it declared a bug by Wolfrram, and
> 2. In general does Wolfram issue bug fixes, and specifically is there
> a patch for this problem?
>
> $Version = 5.1 for Microsoft Windows (October 25, 2004)
>
> Regards,
> Jack Kennedy

In Version 6 your second input gives 16 (right) but takes some time.

Gruss Peter
-- 
==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==
Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de


  • Prev by Date: Re: Computation does not stop when solving system quadratic eqn
  • Next by Date: Re: Selecting Rows Where All Columns Satisfy a Condition
  • Previous by thread: binomial sum bug
  • Next by thread: Re: binomial sum bug