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

 Gamow's Elevator (Posted on 2020-07-26)
George Gamow and Marvin Stern occupied offices on the second and sixth floors of a seven-story building, and noted that when either took the elevator to the other's floor, it was going the wrong way. It's apparent why: there were ten segments of the elevator's 12-segment cycle (6 going up and 6 going down in a continuous cycle) where the first elevator arrival would be going the wrong way and only two segments where it would be going the desired direction the next time it passed the boarding floor.

But what if a second elevator were placed in the building. What would the probability be that the next elevator to arrive would be going the wrong way? Ignore stops along the way, as they do not affect the distance that need be traveled and probably have more of them for longer trips. The two elevators move independently of each other.

Gamow himself did not get the correct answer for the two-elevator case, but the correct answer was found by Donald Knuth.

 See The Solution Submitted by Charlie Rating: 1.5000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
 re: what I have so far... -- Hint | Comment 5 of 10 |
(In reply to what I have so far... by Steven Lord)

Steven, It might be a good idea to test your answer with a simulation, and include in the simulation not only which segment, but how far progressed in that segment.
 Posted by Charlie on 2020-07-27 21:51:43

 Search: Search body:
Forums (0)