Sammy the spider

Sammy the spider has a 4 × 3 4 \times 3 grid web, where he rests and eats at ( 0 , 0 ) (0,0) . If he can only move up and to the right, in how many different ways can he catch a fly that lands at ( 4 , 3 ) (4,3) ?


35 10 15 24 25 30 12

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 20, 2018

The general solution of this type of problem for the number of ways N ( m , n ) = ( m + n m ) = ( m + n n ) N(m,n) = \dbinom {m+n}m = \dbinom {m+n}n , where m m and n n are integral horizontal distance and integral vertical distance between the starting point and the ending point respectively. Therefore, for m = 4 m=4 and n = 3 n=3 , we have N ( 4 , 3 ) = ( 4 + 3 3 ) = ( 7 3 ) = 35 N(4,3)=\dbinom {4+3}3 = \dbinom 73 = \boxed{35} .

We can also solve the problem using a diagram shown above by assigning at each node of the grid the number of ways to the destination. That numbers for nodes on the top horizontal line are all 1's N ( m , 0 ) = ( m 0 ) = 1 N(m,0) = \dbinom m0 = 1 . Similar those of the vertical line on the right N ( 0 , n ) = 1 N(0,n) = 1 . For the rest of the nodes, the number is the sum of the number above and the number on the right or N ( m , n ) = N ( m , n 1 ) + N ( m 1 , n ) N(m,n) = N(m, n-1)+N(m-1,n) . We find that all N ( m , n ) = ( m + n n ) N(m,n) = \dbinom {m+n}n .

@Syed Hamza Khalid , I have changed the figure (which is more useful) and the wording of the problem.

Chew-Seong Cheong - 2 years, 10 months ago

Log in to reply

Yeah, sure. Thanks

Syed Hamza Khalid - 2 years, 10 months ago

1 pending report

Vote up reports you agree with

×

Problem Loading...

Note Loading...

Set Loading...