Special Lattice Paths

Let S S be the set of { ( 1 , 0 ) , ( 0 , 1 ) , ( 1 , 1 ) , ( 1 , 1 ) , ( 1 , 1 ) } \{(1,0), (0,1), (1,1), (1,-1), (-1,1)\} -lattice path which begin at ( 1 , 1 ) (1,1) , do not use the same vertex twice, and never touch either the x x -axis or the y y -axis.

Let P x , y P_{x,y} be the number of paths in S S which end at the point ( x , y ) (x,y) . Determine P 2 , 4 P_{2,4} .

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 ( x 1 , y 1 ) (x_1,y_1) to ( x 2 , y 2 ) (x_2,y_2) is ( x 2 x 1 , y 2 y 1 ) (x_2-x_1,y_2-y_1) .

The length of a lattice path is the number of steps in the path.

For a set S = { ( x i , y i ) } i = 1 k S = \{(x_i,y_i)\}_{i=1}^{k} , an S S -lattice path is a lattice path where every step has size which is a member of S S .


The answer is 491.

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.

1 solution

Calvin Lin Staff
May 13, 2014

We claim that P x , y P_{x,y} is determined uniquely by n = x + y n = x+y . To see this, we note that the steps { ( 1 , 1 ) , ( 1 , 0 ) , ( 0 , 1 ) } \{(1,1), (1,0),(0,1)\} all increase the value of x + y x+y , and the steps { ( 1 , 1 ) , ( 1 , 1 ) } \{(1,-1), (-1,1)\} leave it unchanged. Consider a path from ( 1 , 1 ) (1,1) to ( x , y ) (x,y) . There is a point ( a , b ) (a,b) on the path which is the first point with a + b = n a + b = n From this point, there is exactly one way to get to the point ( x , y ) (x,y) . Thus, the number of paths from ( 1 , 1 ) (1,1) to ( x , y ) (x,y) is the sum of the number of paths from ( 1 , 1 ) (1,1) to one of { ( 1 , n 1 ) , ( 2 , n 2 ) , ( n 1 , 1 ) } \{(1,n-1),(2,n-2), \ldots (n-1,1)\} having only one point on the path with coordinate sum n n . This shows that the number of paths only depends on n n .

Let P n P_n be the number of paths from ( 1 , 1 ) (1,1) to a point ( x , y ) (x,y) with x + y = n x + y = n . We claim that P n = ( 2 ( n 2 ) ) P n 1 + ( n 3 ) P n 2 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 n after using only one such point is to move ( 0 , 1 ) (0,1) or ( 1 , 0 ) (1,0) from one of the n 2 n-2 points with sum n 1 n-1 or ( 1 , 1 ) (1,1) from one of the n 3 n-3 points with sum n 2 n-2 . We have P 2 = 1 P_2 = 1 and P 3 = 2 P_3 = 2 as our starting values.

Applying the recursive formula gives P 4 = 9 , P 5 = 58 , P 6 = 491 P_4 = 9, P_5 = 58, P_6 = 491 , so the number of paths from ( 1 , 1 ) (1,1) to ( 2 , 4 ) (2,4) is 491 491 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...