Placement AptitudeHardCAT · Infosys SP

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

  1. A. 800
  2. B. 1000
  3. C. 950
  4. D. 990

Correct answer: D. 990

Each remainder mod 5 has 20 numbers. Good pairs: both remainder 0: C(20, 2) = 190; remainders 1 & 4: 20 × 20 = 400; remainders 2 & 3: 400. Total 990.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic