Is there a formula or perhaps an automatic calculator online (or a method in excel) by which I can calculate the total number of combinations one can pick of all sizes from a set of n items?
i.e. if n = 4, I would like the quantity of values from r=1 to r=4 (which works out to 15, but I need a formula or computational method to do it automatically for any value of n.