Processing math: 100%
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 6 years ago

Thrash gravatar image

Bug in computing sum (of binomials)

One gets a wrong output when running the following command:

sage: sum(binomial(1,n),n,0,oo)
3

The output should be 2 instead of 3. Compare:

sage: sum(binomial(1,n),n,0,oo,algorithm="sympy")
2

Bug in computing sum (of binomials)

One gets a wrong output when running the following command:

sage: sum(binomial(1,n),n,0,oo)
3

The output should be 2 instead of 3. Compare:

sage: sum(binomial(1,n),n,0,oo,algorithm="sympy")
2

Bug in computing sum (of binomials)

One gets a wrong output when running the following command:

sage: sum(binomial(1,n),n,0,oo)
3

The output should be 2 instead of 3. Compare:

sage: sum(binomial(1,n),n,0,oo,algorithm="sympy")
2