Going on a grid

A man wants to go from his home to the movies on the given grid. He can only walk north or east, neither south nor west. Into how many ways he can do that?

120 40 21 49 35

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

Chew-Seong Cheong
Jul 15, 2017

For a simple grid, we can solve the problem by counting the actual number ways as follows.

  1. Assign the column numbers x = 0 , 1 , 2 , 3 , 4 x = 0, 1, 2, 3, 4 and row numbers y = 0 , 1 , 2 , 3 y = 0, 1, 2, 3 starting from the destination (movie).
  2. Enter the numbers of ways n ( x , y ) n(x,y) (shown in blue) to the destination starting from x = 0 x=0 and y = 0 y=0 . When x = 0 x=0 and y = 0 y=0 , there is only 1 way to the destination, therefore, n ( 0 , y ) = n ( x , 0 ) = 1 n(0, y) = n(x, 0) = 1 . It is obvious that n ( 1 , 1 ) = n ( 1 , 0 ) + n ( 0 , 1 ) n(1,1) = n(1,0) + n(0,1) and in general n ( x , y ) = n ( x , y 1 ) + n ( x 1 , y ) n(x,y) = n(x, y-1) + n(x-1,y) .

Following the process we find that n ( 4 , 3 ) = 35 n(4,3) = \boxed{35} . By observation, it is found that n ( x , y ) = ( x + y y ) = ( x + y x ) \displaystyle n(x,y) = {x+y \choose y} = {x+y \choose x}

Thank you for sharing your solution.

Hana Wehbi - 3 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...