Mathematics (JEE)Very hardJEE Advanced

The number of subsets of {1, 2, …, 9} (the empty set included) whose elements add up to a multiple of 3 is:

  1. A. 170
  2. B. 171
  3. C. 180
  4. D. 176

Correct answer: D. 176

The numbers 1..9 have three of each residue mod 3. By the roots-of-unity filter the count is (2⁹ + 2·Re[(1 + ω)³(1 + ω²)³·2³])/3; each of the other two terms equals 8, so (512 + 8 + 8)/3 = 176.

More Sets, Relations and Functions questions

Exams that ask this topic