A release-checked medium problem for training Combinations and Permutations, Conditional Probability.
Question
Suppose that $\Omega = \{1,2,\dots,p\}$, where $p$ is a prime integer. One $\omega \in \Omega$ is selected uniformly at random. Find the number of pairs of subsets $A, B \subseteq \Omega$ such that the events $\{\omega \in A\}$ and $\{\omega \in B\}$ are independent events. Find this when $p = 7$.
Practice focus
This Probability problem is tagged Combinations and Permutations, Conditional Probability. State the random variables and conditioning information explicitly, then check the result against boundary cases before opening hints or a solution.