Mathematics (JEE)ModerateGATE CS

How many 6-tuples of integers (x1, ..., x6) satisfy x1 + ... + x6 = 35 with 2 <= xi <= 9 for every i?

  1. A. 17136
  2. B. 98280
  3. C. 5796
  4. D. 24576

Correct answer: A. 17136

Shift each xi by subtracting 2 to get yi in [0,7] with sum 23; inclusion-exclusion over the variables exceeding 7 gives 17136.

More Permutations, Combinations and Probability questions

Exams that ask this topic