A Trip to the Store

Over the weekend, you have a few errands to run. One of those errands is a trip to the store to buy a loaf of bread. The map of your town is represented in the map below:

If your home is represented by the blue house, and the store is represented by a red store, how many possible routes can you take to get from your house to the store?

Clarification: You can only move south or east.


The answer is 42.

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.

2 solutions

Deva Craig
Feb 18, 2017

To solve this problem, you could split the amount of routes you could travel by their intersections. For example, at the points A, B, C, and D, you can label them as 1 because there is only one way to get to that intersection.

Afterwards, you can then label the intersections below as follows, as the numbers will represent the number of paths you can take to reach the intersection, you could take 6 different routes to reach an intersection labeled with a six:

After that, you can find the rest of the intersections by adding up all of the number above that particular intersection, and the one west of that intersection.

Therefore, we get 42 \boxed{42} as our answer.

Nice presentation. This is an example of the Catalan sequence .

Brian Charlesworth - 4 years, 3 months ago

Did the same way

I Gede Arya Raditya Parameswara - 4 years, 3 months ago

I think, we can also complete the square then find the no.of ways as, the total ways = 8!/4!4!(arrangement of 4E and 4S).

This is equal to the symmetric sum of the diagram given(taken in two different orientation I.e. the other rotated through 180°) -
Moving through the common portion( the diagonal). Using inclusion exclusion. But it gives /(43/).

Vishal Yadav - 4 years, 3 months ago

Log in to reply

Elaborate it properly please....

Dhruv Joshi - 4 years, 2 months ago
Samlu1999 .
Feb 23, 2017

This is a recusive relationship f(n) = g(n) - f(n-1) where g(n) = n!/(n/2!)^2 i.e. number of ways from A to B in square grid. This is because the number of ways for the pattern in question is the number of ways we traverse 4x4 minus the missing part which is the original pattern but 3x3.

When writing a solution, it's best to show how you got the solution rather than just telling us what you've used.

Deva Craig - 4 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...