On the accompanying diagram, how many paths are there from A to B, if we are only allowed to move to the right, down, or down and to the right diagonally ?
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.
In the possible paths he could go diagonally zero times, once, twice or thrice.
If he doesn't go diagonal, he will travel 3 horizontal steps and 3 vertical steps. Possible arrangements of ( v , v , v , h , h , h ) which is nothing but 3 ! 3 ! 6 !
If he goes diagonal once he would have to travel the two horizontal and two vertical. Arrangements of ( v , v , h , h , d ) , which is nothing but 2 ! 2 ! 1 ! 5 ! .
If he goes diagonal twice he would have to travel the one horizontal and one vertical step. Arrangements of ( v , h , d , d ) , which is nothing but 2 ! 1 ! 1 ! 4 ! .
If he goes diagonal thrice there is only one path. ( d , d , d )
Hence the answer 6 3