Opened 10 years ago

Closed 8 years ago

#7952 closed defect (fixed)

broken binomial sum (fixed in maxima)

Reported by: burcin Owned by: burcin
Priority: major Milestone: sage-5.0
Component: symbolics Keywords: maxima
Cc: jpflori, mjo Merged in: sage-5.0.beta2
Authors: Michael Orlitzky Reviewers: Karl-Dieter Crisman
Report Upstream: Fixed upstream, in a later stable release. Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

From the following sage-devel thread:

http://groups.google.com/group/sage-devel/t/c7a742292f424b04

On Jan 10, 6:15 pm, Harald Schilly <harald.schi...@gmail.com> wrote:
> Hi, I got this from the report a problem link:
>
> Typing (in the inotebook)
>
> var('t,k,i')
> sum(binomial(i+t,t),i,0,k)
>
> results in
>
> binomial(k + t + 1, t + 1) - 1
>
> which is false, the well-known answer is binomial(k + t + 1, t + 1)  

There is a fix for this bug in maxima cvs. If you don't want to wait
for the next release I can provide a patch.

Andrej

Attachments (1)

sage-trac_7952.patch (720 bytes) - added by mjo 8 years ago.
Add a doctest for the correct behavior.

Download all attachments as: .zip

Change History (6)

comment:2 Changed 9 years ago by kcrisman

  • Cc jpflori added

jpflori reports this is fixed in #10187's package. Maybe s/he will contribute a patch :)

Changed 8 years ago by mjo

Add a doctest for the correct behavior.

comment:3 Changed 8 years ago by mjo

  • Cc mjo added
  • Status changed from new to needs_review

This is fixed in sage-4.8.alpha4, so I've added a doctest.

comment:4 Changed 8 years ago by kcrisman

  • Authors set to Michael Orlitzky
  • Reviewers set to Karl-Dieter Crisman
  • Status changed from needs_review to positive_review

Positive review.

comment:5 Changed 8 years ago by jdemeyer

  • Merged in set to sage-5.0.beta2
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.