Mathematics (JEE)HardCAT · MBA placement

How many ordered triples (a, b, c) with each of a, b, c in {1, 2, 3, 4, 5} satisfy a + b + c = 9?

  1. A. 28
  2. B. 25
  3. C. 10
  4. D. 19

Correct answer: D. 19

Put a' = a − 1 etc., so a', b', c' lie in {0,...,4} and sum to 6. Stars and bars gives C(8,2) = 28; subtract the 9 solutions where one variable is 5 or more (C(3,2) = 3 each).

More Permutations, Combinations and Probability questions

Exams that ask this topic