Let . The number of non-empty subsets of that have the sum of all elements a multiple of 3, is _____.
Solution
Core idea. Divisibility of a sum depends on how many elements of each remainder are taken.
Concept refresher. A sum is divisible by 3 exactly when the remainders of its terms add to a multiple of 3. If terms leave remainder 1 and terms leave remainder 2, the condition is
for a whole number .
Picture the situation. On division by 3 the element 3 leaves remainder 0; the elements 1, 7 and 10 leave 1; and 2, 5 and 11 leave 2. Only the remainders matter for divisibility of the sum. The element 3 never changes the remainder, so it can be put in or left out of any suitable subset.
Approach. Find the allowed numbers of elements of each remainder, count the choices, and allow for the element 3.
Step 1: The condition
Take elements of remainder 1 and of remainder 2. The sum leaves the same remainder as , which is a multiple of 3 exactly when is. With and from 0 to 3, the pairs are , , , , and .
Step 2: Count
These give choices, using . The element 3 can be included or not, which doubles this to 44, and removing the empty set leaves 43.
Answer. 43
Sanity check. The set has subsets, and about one third of them should have a sum divisible by 3; 44 is close to a third of 128.
Common wrong answers
- 44: Forgetting to remove the empty set gives 44.
- 39: Missing the pairs and gives 20 choices and .
Key takeaway
The trap. The empty set has sum zero but is excluded by the words non-empty.
How toppers think. They expect about one third of all subsets and compare.
Remember.
More on Combinations
- A box contains 5 blue, 6 yellow and 4 red balls. The number of ways, of drawing 8 balls containing at least…
- Two players A and B play a series of games of badminton. The player, who wins 5 games first, wins the…
- Let pn denote the total number of triangles formed by joining the vertices of an n -side regular polygon. If…
- All 59 on Combinations ›