GATE Computer ScienceVery hardGATE CSE · ISRO
A path runs from (0,0) to (7,7) using unit steps right (+1,0) or up (0,+1). It must satisfy y ≤ x at every lattice point visited and must not pass through (3,3). How many such paths exist?
- A. 359
- B. 429
- C. 70
- D. 289
Correct answer: A. 359
Paths staying on or below y = x number C₇ = 429; those through (3,3) number C₃·C₄ = 5·14 = 70; 429 − 70 = 359.
More Discrete Mathematics questions
- What is the value of 7^(7^7) mod 100 (the last two digits of 7 raised to the power 7⁷)?
- How many equivalence relations on the set {1, 2, 3, 4, 5, 6, 7} have exactly 3 equivalence classes?
- What is the maximum number of regions into which 6 circles can divide the plane (any two circles meet in at most 2 points)?
- Over the domain {1, …, 60}, let P(a, b) mean "a divides b". How many x satisfy ∀y ∀z [(P(y,x) ∧ P(z,x)) → (P(y,z) ∨ P(z,y))], i.e. all…
- How many labelled simple graphs on the vertex set {1,…,7} are 2-regular (every vertex has degree exactly 2)?
- The Mycielskian of the 5-cycle C₅ (the Grötzsch graph, 11 vertices) is triangle-free. What is its chromatic number?