GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A lattice path from (0, 0) to (7, 7) uses unit steps right (R) and up (U) and never goes above the line y = x. How many such paths avoid the point (3, 3)?
- A. 359
- B. 429
- C. 289
- D. 344
Correct answer: A. 359
Total paths are the Catalan number C₇ = 429. Those through (3, 3) number C₃ · C₄ = 5 · 14 = 70, so 359 = 359.
More Discrete Mathematics questions
- A convex 10-gon has vertices labelled 0, …, 9. How many triangulations of it (by non-crossing diagonals) contain the diagonal joining…
- Five fair six-faced dice are rolled. In how many of the 7776 ordered outcomes is the sum exactly 20 AND all five faces different?
- How many partitions of 20 (as an unordered sum of positive integers) have the property that no part appears more than twice?
- In how many ways can 60 be written as an unordered sum of 2s, 3s and 7s (order of the summands does not matter)?
- a₀ = 1, a₁ = 3 and aₙ = 4aₙ₋₁ − 4aₙ₋₂ + 2ⁿ for n ≥ 2. What is a₁₀?
- aₙ = 3aₙ₋₁ − 4aₙ₋₃ with a₀ = 1, a₁ = 2, a₂ = 5. What is a₁₂?