Newsgroups: rec.puzzles
From: umah...@ma.ic.ac.uk (Nairo Aparicio)
Date: 27 Nov 92 15:44:36 GMT
Local: Fri 27 Nov 1992 15:44
Subject: Gale and Bridges (Answer)
Ok, here is the answer to the Gale and Bridges puzzle.
We have 13 bridges, so there are 2^13 = 8192 combinations. Since the probability that each bridge will collapse es 1/2, you must agree Let's call Sn the number of combinations such that: you can cross the river The answer is obviously (S0 + S1 + S2 + ... + S13)/8192. The beautiful thing of this problem is that you do not need to calculate S0, S1 and S2 are obviously zero; you can not cross the river if there are On the other hand, S13 = 1, there is only one combination where no bridges S12 = C(13,1) = 13 and S11 = C(13,2) = 78, since in ALL the combinations Now, what I think is the most beautiful part of this problem is the Take a sheet of paper and draw the river, the six islands and the 13 bridges Let's take as a convention that a real bridge collapses if and only if its If you call Tn the number of combinations such that: you can cross the Sn = C(13,n) - T(13 - n) In words: The number of combination ``with n bridges'' such that you can Now, Tn = Sn since the virtual picture is equal to the real picture, so: Sn + S(13-n) = C(13,n) so S0 + S1 + S2 + ... + S13 = Sum from 0 to 13 of ((Sn + S(13-n))/2) So the answer is (2^13/2)/2^13 = 1/2. If the river has a distribution of n times n-1 islands (n>1), the procedure If you assume a collapse probability of ``p'', the answer will be: 3q^3p^10 + 38q^4p^9 + 433q^5p^8 + 636q^6p^7 + 1080q^7p^6 + 854q^8p^5 + + 677q^9p^4 + 283q^10p^3 + 78q^11p^2 + 13q^12p + q^13 where q = 1 - p Nairo Aparicio You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||