Let . The number of non-empty subsets of S that have the sum of all elements a multiple of 3, is ______.
Answer: 43
Solution
By remainder on division by , the set splits as (residue ), (residue ) and (residue ). A subset has sum divisible by exactly when the numbers chosen from the residue- and residue- groups are congruent in count modulo ; counting those possibilities and freely including or excluding gives subsets, the empty set among them. Removing the empty set leaves .
JEE Main · 2023 · 25 Jan 2023 · Shift 1 · Integer answer