Mathematics (JEE)Very hardGATE CS
How many lattice paths go from (0, 0, 0) to (2, 2, 2) using unit steps in the positive x, y or z direction, avoiding the point (1, 1, 1)?
- A. 90
- B. 54
- C. 36
- D. 72
Correct answer: B. 54
Unrestricted paths: 6!/(2!·2!·2!) = 90. Paths through (1,1,1): 3!·3! = 36. So the count is 90 − 36 = 54. Option 36 counts only the paths through the forbidden point.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many functions from {1, 2, 3, 4, 5} to {1, 2, 3} have an image with exactly 2 elements?
- How many 3-element subsets of {1, 2, …, 9} have sum equal to 15?
- Three fair dice are rolled. What is the probability that their total is 7?
- Two specific people A and B are seated in a row of 6 people in a random order. What is the probability that exactly two people sit between…
- Four distinct sweets are given to two children, with each child receiving at least one sweet. In how many ways can this be done?
- Four distinct balls are placed into 2 identical boxes so that no box is empty. In how many ways can this be done?