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?

  1. A. 359
  2. B. 429
  3. C. 70
  4. 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

Exams that ask this topic