Ask Your Question

Revision history [back]

Actually, q_binomial is not a symbolic function, contrary to binomial. Therefore it does not accept symbolic variables like n or k as arguments. Only specific values can be given to q_binomial. To check this, do not hesitate to have a look at the code of the function (taking the advantage that SageMath is open source!) by typing q_binomial??, and compare with binomial??.