Placement AptitudeHardCAT · Infosys SP

In how many ways can 3 different numbers be chosen from 1, 2, …, 30 so that their sum is divisible by 3?

  1. A. 1360
  2. B. 1000
  3. C. 360
  4. D. 4060

Correct answer: A. 1360

Each remainder class mod 3 has 10 numbers. The sum is a multiple of 3 when all three come from one class (3 × C(10, 3) = 360) or one from each class (10 × 10 × 10 = 1000). Total 1360.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic