Let . Then the number of elements in the set and the sum of all the elements of is not a multiple of 3 is ______.
Answer: 80
Solution
Classify by residue mod : residue is , residue is , residue is . The three residue- elements may be chosen freely ( ways). Among subsets of the residue counts are for sums , and among subsets of they are . Pairing to make the total gives ways. So subsets (including the empty set) have sum divisible by . Of all subsets, have sum not divisible by , and all of these are non-empty. The number of such subsets is .
JEE Main · 2021 · 27 Aug 2021 · Shift 2 · Integer answer