| 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]])
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.