calculate number of subsets for a set
Subsets of a given Set. If a set contains ânâ elements, then the number of subsets of the set is 2\(^{2}\). If a set contains ânâ elements, then the number of proper subsets of the set is 2\(^{n}\) - 1. In general, number of proper subsets of a given set = 2\(^{m}\) - 1, where m is the number of elements. 1.