I have this set $S = \{1, 2, 3, ..., 30\}$ a I have to find count of subsets of subset $S$ which have at least one even number.
I solved it that I substracted from total count of subsets ($2^{30}$) that subsets which have only odd numbers. Like that:
$2^{30}-\sum\limits_{i=0}^{15} {15\choose i}$
Is my solution correct?