How many numbers can be expressed as the sum of two or more distinct elements of the set {0,1,2,4,8,16}?
6C2 = 15 You have to be careful of duplicates, but there aren't any in this total.
.