Placement AptitudeVery hardCAT · Goldman Sachs OA

How many subsets of {1, 2, …, 10} (including the empty set) have a sum divisible by 3?

  1. A. 341
  2. B. 344
  3. C. 342
  4. D. 352

Correct answer: B. 344

Elements by remainder: 0 → {3, 6, 9}, 1 → {1, 4, 7, 10}, 2 → {2, 5, 8}. With ω a cube root of unity, the count is (2¹⁰ + 2 Re[2³(1 + ω)⁴(1 + ω²)³])/3 = (1024 + 8)/3 = 344. The naive 1024/3 ≈ 341 is close but not exact because the remainder classes are unequal.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic