Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Sum is working only in a symbolic ring. So you can convert your integers to the symbolic ring as follows:

sum(binomial(SR(5),k),k,0,SR(5))

You can also use the add command:

add([binomial(5,k) for k in [0..5]])