Mathematics (JEE)Hard
How many integer solutions does x + y + z + w = 20 have if x ≥ 1, y ≥ 2, 0 ≤ z ≤ 5 and w ≥ 0?
- A. 1771
- B. 1140
- C. 1120
- D. 776
Correct answer: D. 776
Shift x' = x − 1 ≥ 0 and y' = y − 2 ≥ 0 to get x' + y' + z + w = 17 with z ≤ 5. Count without the bound on z: C(20,3) = 1140, then subtract the cases z ≥ 6 (a shift to z' = z − 6 gives sum 11 over 4 variables, C(14,3) = 364). The result is 1140 − 364 = 776 with brute force check.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many three-digit positive integers have digits whose sum is 9?
- How many squares (of any tilt) have all four vertices among the 25 points of a 5 × 5 square lattice of points?
- How many non-degenerate triangles have their three vertices among the 25 points of a 5 × 5 square lattice?
- In how many ways can 10 be written as an unordered sum of positive integers, all of them different (e.g. 7 + 3)?
- Ordered pairs (x, y) are chosen with x, y ∈ {1, 2, …, 100}. How many of these pairs make x² + y² divisible by 5?
- The numbers 1, 2, 3, 4, 5, 6 are arranged in a row in all possible orders. How many arrangements have 1 and 2 not next to each other, and…