George Gamow and Marvin Stern occupied offices on the second and sixth floors of a sevenstory 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 12segment 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 twoelevator case, but the correct answer was found by Donald Knuth.
(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 20200727 21:51:43 