First time here? Check out the FAQ!
answered 2013-07-25 11:39:33 +0100
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
add([binomial(5,k) for k in [0..5]])