Mathematics (JEE)HardGATE CS
How many non-negative integer solutions of a + b + c + d = 8 satisfy 0 ≤ a, b, c, d ≤ 3?
- A. 35
- B. 31
- C. 20
- D. 16
Correct answer: B. 31
Unrestricted solutions: C(11,3) = 165. Subtract the 4 · C(7,3) = 140 solutions where one variable is at least 4, then add back the C(4,2) = 6 cases where two variables are at least 4. Total 165 − 140 + 6 = 31.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many positive divisors of 2⁴ · 3³ · 5² are not divisible by 6?
- How many permutations of {1, 2, ..., 7} have exactly three fixed points (positions i with p(i) = i)?
- How many unordered pairs of distinct integers from {1, 2, ..., 50} have a sum divisible by 5?
- How many 3-element subsets of {1, 2, ..., 30} have a sum divisible by 3?
- How many 6-digit numbers are palindromes (read the same forwards and backwards)?
- How many strings of six digits (leading zeros allowed) have digit sum equal to 9?