#8651: binomial(n,k) evaluates to zero when 0 is subsituted for k
-------------------------+--------------------------------------------------
Reporter: rhinton | Owner: burcin
Type: defect | Status: new
Priority: major | Milestone: sage-4.4
Component: symbolics | Keywords: symbolic, binomial
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-------------------------+--------------------------------------------------
We all know binomial(n,0) should be 1. But we're not getting that answer
in the following case.
{{{
sage: var('n, k')
(n, k)
sage: binomial(n, 0) # this is OK
1
sage: binomial(n, k).subs(k=0) # this is a problem!
0
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8651>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.