A token moves on the integer grid from (0,0) to (7,5) using only unit…
Question
A token moves on the integer grid from (0,0) to (7,5) using only unit steps Right (+1 in x) and Up (+1 in y). How many such monotone lattice paths avoid passing through BOTH of the points (3,3) and (5,2) (a path is excluded if it touches either point)?
Step-by-step solution
Let B = paths through (5,2): from (0,0) to (5,2) is C(7,2)=21; from (5,2) to (7,5) needs 2 R and 3 U = C(5,2)=10, so B = 210.
Paths through both, in order (3,3) then (5,2): note (5,2) has smaller y than (3,3), so it is impossible to pass (3,3) then reach (5,2) (y cannot decrease).
Going (5,2) first then (3,3) also needs y to increase from 2 to 3 but x to drop 5->3, impossible.
Valid = Total - A - B + A∩B = 792 - 300 - 210 + 0 = 282. (The code's AB term is 0 because the segment from (3,3) to (5,2) is non-monotone.)
Final answer282
Stuck on a problem like this?
Paste any JEE or NEET question — verified working, a confidence %, and an honest “not sure” instead of a bluff.
Solve my doubt →More Combinatorics solutions