I need to find the SUM of all possible combinations in a set. For example:
sum(choose(5, 0),
choose(5, 1),
choose(5, 2),
choose(5, 3),
choose(5, 4),
choose(5, 5))
Instead of writing it out like that, is possible to use a for loop to loop through choose() with any given n and k?