George lives at the corner of 1st Street and 1st Avenue. Each afternoon George visits his girlfriend, Stella, who lives at the corner of 8th Street and 8th Avenue. He varies his route but always walks 1400 meters (it is 100 meters between adjacent Streets and between adjacent Avenues). Sometimes he stops at one of the corner pubs marked as P in the diagram.
On May 1st 2006, after several months of these visits, Stella wants to get married and says to George, "If you don't propose marriage to me soon, I am going to propose to you." George replies, "Starting tomorrow I will walk a different route to your house and when I have used all the different possible routes, you can propose to me." "OK," says Stella, "but you must never go through an intersection with a pub at one of its corners." "It's a deal" replies George.
On what date will Stella be able to propose to George?
If he could ignore Pubs, it would simply be 14C7 (3432) for the times he could choose to go north instead of east.
The number of paths that go by the two closest pubs is 2*7C2*7C5 (882), and the number of paths that go by the two furthest pubs are 2*9C3*5C4 (840), but there are also 2*2*7C2*5C4 (420) paths that go by both pubs, and will need to be subtracted from this count.
This means there are 3432 - (882+840-420) = 2130 paths he could choose.
|
Posted by Gamer
on 2005-12-26 19:32:31 |