A recursive sequence is defined as A ( x , y ) = A ( x − 1 , y ) + A ( x , y − 1 ) for all integers x , y > 0 , equals 0 if x < 0 or y < 0 , and A ( x , 0 ) = A ( 0 , x ) = 1 for all positive integers x . Find the value of A ( 1 6 , 1 4 ) .
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.
This is a (slightly disguised) Pascal's triangle - essentially a rotation of the usual diagram.
From the first few positive integer values of x and y , it appears that A ( x , y ) = ( y x + y ) . The following prove that it is so.
A ( x , y ) = A ( x − 1 , y ) + A ( x , y − 1 ) = ( y x + y − 1 ) + ( y − 1 x + y − 1 ) = y ! ( x − 1 ) ! ( x + y − 1 ) ! + ( y − 1 ) ! x ! ( x + y − 1 ) ! = x ! y ! ( x + y ) ( x + y − 1 ) ! = x ! y ! ( x + y ) ! = ( y x + y ) If A ( x , y ) = ( y x + y ) ∀ x , y ∈ Z + QED
Therefore, A ( 1 6 , 1 4 ) = ( 1 4 3 0 ) = 1 4 5 4 2 2 6 7 5 .
Problem Loading...
Note Loading...
Set Loading...
Consider a grid that is 1 6 meters long and 1 4 meters wide and stand at the lower left corner. Given that you can move only up and right in single meter increments, how many ways can you get to the top right corner?
This is essentially the same problem as the one posted above, because the amount of ways to get to a given point ( x , y ) on the grid is the sum of the ways to get to the point below it ( x , y − 1 ) and the number of ways to get to point to the left of it ( x − 1 , y ) . Thus, A ( x , y ) = ( x + y x ) or identically, ( x + y y ) and A ( 1 6 , 1 4 ) = ( 3 0 1 4 ) = 1 4 5 4 2 2 6 7 5 .
Alternatively, one could prove that A ( x , y ) = ( x + y x ) by induction.