#9634: binomial does not accept variable when only in the lower argument
--------------------------------+-------------------------------------------
   Reporter:  Henryk.Trappmann  |       Owner:  AlexGhitza
       Type:  defect            |      Status:  new       
   Priority:  major             |   Milestone:            
  Component:  basic arithmetic  |    Keywords:            
     Author:                    |    Upstream:  N/A       
   Reviewer:                    |      Merged:            
Work_issues:                    |  
--------------------------------+-------------------------------------------
 {{{
 sage: var('k')
 k
 sage: binomial(x,3)
 1/6*(x - 2)*(x - 1)*x
 sage: binomial(3,k)
 ---------------------------------------------------------------------------
 TypeError: Either m or x-m must be an integer
 }}}

 From kcrisman:
 Is this a bug?  I would say yes, because
 {{{
 sage: binomial(x,k)
 binomial(x, k)
 }}}
 works, but maybe we want to have it be a specific integer if the top
 number is given?  Any input?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9634>
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.

Reply via email to