Number of Non-Empty Subsets with Sum Divisible by 3
Problem: Let . The number of non-empty subsets of such that the sum of their elements is divisible by is _____.
Number of Non-Empty Subsets with Sum Divisible by 3
Problem: Let . The number of non-empty subsets of such that the sum of their elements is divisible by is _____.
Correct answer:43
Standard Method
Given:
Find: The number of non-empty subsets of whose element-sum is divisible by .
Classify the elements according to their remainders modulo :
Now count valid subsets by size as shown in the solution.
Subsets containing one element:
Subsets containing two elements:
Subsets containing three elements:
Subsets containing four elements:
Subsets containing five elements:
Subsets containing six elements:
Subsets containing seven elements:
Therefore,
So, the number of non-empty subsets is .
Modulo 3 Grouping
Given:
Find: The number of non-empty subsets whose sum is divisible by .
First compute residues modulo :
Hence the groups are:
A subset sum is divisible by when the total residue is . The extracted solution counts such subsets size-wise and gives:
Adding these counts,
Therefore, the required number of non-empty subsets is .
A common mistake is to count all subsets of elements as and assume one-third of them work. Residues are not uniformly distributed automatically. Instead, group elements by modulo and count valid residue combinations.
Another mistake is to forget that the element itself contributes residue . Such elements do not change divisibility by , but they do multiply the number of valid subset choices. Treat the group separately.
Students also often count only subsets with equal numbers of and elements. This misses cases like three elements from the same residue class, since and .
Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.