#12256: if x=var('x') and n is an integer then n.binomial(x) should return
binomial(SR(n),x)
--------------------------+-------------------------------------------------
Reporter: was | Owner: burcin
Type: defect | Status: closed
Priority: minor | Milestone: sage-duplicate/invalid/wontfix
Component: symbolics | Resolution: duplicate
Keywords: | Work_issues:
Upstream: N/A | Reviewer: Burcin Erocal
Author: | Merged:
Dependencies: |
--------------------------+-------------------------------------------------
Changes (by jdemeyer):
* status: positive_review => closed
* resolution: => duplicate
Old description:
> Somebody tried to do
> {{{
> sum(binomial(3, k), k, 0, 3)
> }}}
> and got a weird error, but
> {{{
> sum(binomial(SR(3), k), k, 0, 3)
> }}}
> works. This is because 3.binomial isn't sophisticated enough... or maybe
> {{{binomial(-, -)}}} isn't either.
New description:
Somebody tried to do
{{{
sum(binomial(3, k), k, 0, 3)
}}}
and got a weird error, but
{{{
sum(binomial(SR(3), k), k, 0, 3)
}}}
works. This is because 3.binomial isn't sophisticated enough... or maybe
{{{binomial(-, -)}}} isn't either.
This is a duplicate of #9634.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12256#comment:4>
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.