GATE Computer ScienceHardGATE CSE
A lattice path from (0, 0) to (6, 6) uses unit steps right or up and never goes above the line y = x. How many such paths are there?
- A. 132
- B. 102
- C. 162
- D. 32
Correct answer: A. 132
These paths are counted by the Catalan number C₆ = (1/7)·C(12, 6) = 132.
More Discrete Mathematics questions
- In how many ways can 10 be written as a sum of distinct positive integers, where the order of the terms does not matter?
- How many distinct Hamiltonian cycles does the complete graph K₇ contain (a cycle and its reverse are the same, and rotations are the same)?
- How many of the 32 assignments to a, b, c, d, e satisfy (a ∨ b) ∧ (¬a ∨ c) ∧ (¬b ∨ ¬c) ∧ (c ∨ d) ∧ (¬d ∨ e ∨ a)?
- How many elements of order 4 does the group Z₄ × Z₄ have?
- How many labelled trees on the vertex set {1, …, 6} have exactly 2 leaves (that is, are paths)?
- How many distinct necklaces of 6 beads can be made with 3 colours when only rotations are considered equivalent (reflections are different)?