This would be 128, I believe. Is this correct?
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
Yes, I believe it is. For each subset it can either contain or not contain an element. For each element, there are $2$ possibilities. Multiplying these together we get $2^7$ or $128$ subsets.
For generalisation the total number of subsets of a set containing n elements is 2 to the power n. And you are surely right.