All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars
 perplexus dot info

 Pass the beer (Posted on 2013-04-09)
Suppose you and a bunch of friends are sitting around a table.
There are N of you.
You have a jug of beer in front of you, which no one has yet tasted.
So you take a swig of it, and then pass it to your left or right with probability 1/2.
Now suppose your neighbor does the same---he/she takes a swig of it and passes it to his/her left or right with probablity 1/2.
Each player continues in this fashion.
Because the beer is moving back and forth randomly around the table, it may be a while before some people get to taste the beer for the first time.

Which person around the table is most likely to be the last one to try the beer?
Is it a person near you or far from you?
(Assume that the jug is bottomless, and never runs out.)

Source: Math fun facts

 No Solution Yet Submitted by Ady TZIDON No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
 re: computer solution | Comment 7 of 8 |
(In reply to computer solution by Charlie)

A rerun of the program has 11 of the 12 results offered generally differing by a few hundred  for each listed event.

Prefacing the
"delta = SGN(2 * RND(1) - 1)"
in the DO .. LOOP
with RANDIMIZE TIMER does not prove to be helpful offering results from 11m down to 7m!

 Posted by brianjn on 2013-04-11 04:20:25

 Search: Search body:
Forums (0)