Placement AptitudeModerateTCS NQT · Accenture

How many ordered pairs (x, y) of positive integers satisfy x + y ≤ 10?

  1. A. 55
  2. B. 45
  3. C. 36
  4. D. 100

Correct answer: B. 45

Add a slack s ≥ 0: x + y + s = 10 with x, y ≥ 1 is the same as x' + y' + s = 8 with all ≥ 0: C(10, 2) = 45. (Or 1 + 2 + … + 9 = 45.)

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic