Opened 12 years ago
Closed 10 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)
Change History (6)
comment:1 Changed 12 years ago by
comment:2 Changed 11 years ago by
- Cc jpflori added
jpflori reports this is fixed in #10187's package. Maybe s/he will contribute a patch :)
comment:3 Changed 10 years ago by
- 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 10 years ago by
- Reviewers set to Karl-Dieter Crisman
- Status changed from needs_review to positive_review
Positive review.
comment:5 Changed 10 years ago by
- 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.
Here is the patch, we should add this to our package:
http://maxima.cvs.sourceforge.net/viewvc/maxima/maxima/src/combin.lisp?r1=1.39&r2=1.40&view=patch