Placement AptitudeVery hardCAT · Infosys

How many solutions in non-negative integers does x + y + z = 10 have in which x, y and z are all different?

  1. A. 60
  2. B. 66
  3. C. 48
  4. D. 8

Correct answer: C. 48

All solutions: 12C2 = 66. x = y: 2x + z = 10 gives 6 solutions, and likewise for y = z and x = z; all three equal is impossible (10 is not a multiple of 3), so 18 have a repeat and 66 − 18 = 48. 60 removes only one equal pair; 8 counts unordered sets.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic