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)?

  1. A. 90
  2. B. 54
  3. C. 36
  4. 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.

More Permutations, Combinations and Probability questions

Exams that ask this topic