Let be the set of -lattice path which begin at , do not use the same vertex twice, and never touch either the -axis or the -axis.
Let be the number of paths in which end at the point . Determine .
Details and assumptions
A lattice path is a path in the Cartesian plane between points with integer coordinates.
A step in a lattice path is a single move from one point with integer coordinates to another.
The size of the step from to is .
The length of a lattice path is the number of steps in the path.
For a set , an -lattice path is a lattice path where every step has size which is a member of .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We claim that P x , y is determined uniquely by n = x + y . To see this, we note that the steps { ( 1 , 1 ) , ( 1 , 0 ) , ( 0 , 1 ) } all increase the value of x + y , and the steps { ( 1 , − 1 ) , ( − 1 , 1 ) } leave it unchanged. Consider a path from ( 1 , 1 ) to ( x , y ) . There is a point ( a , b ) on the path which is the first point with a + b = n From this point, there is exactly one way to get to the point ( x , y ) . Thus, the number of paths from ( 1 , 1 ) to ( x , y ) is the sum of the number of paths from ( 1 , 1 ) to one of { ( 1 , n − 1 ) , ( 2 , n − 2 ) , … ( n − 1 , 1 ) } having only one point on the path with coordinate sum n . This shows that the number of paths only depends on n .
Let P n be the number of paths from ( 1 , 1 ) to a point ( x , y ) with x + y = n . We claim that P n = ( 2 ( n − 2 ) ) P n − 1 + ( n − 3 ) P n − 2 . To see this, we note that the number of ways to get a path that terminates on a point with coordinate sum n after using only one such point is to move ( 0 , 1 ) or ( 1 , 0 ) from one of the n − 2 points with sum n − 1 or ( 1 , 1 ) from one of the n − 3 points with sum n − 2 . We have P 2 = 1 and P 3 = 2 as our starting values.
Applying the recursive formula gives P 4 = 9 , P 5 = 5 8 , P 6 = 4 9 1 , so the number of paths from ( 1 , 1 ) to ( 2 , 4 ) is 4 9 1 .