Fine Print: I created this page because someone posed a puzzle asking that I calculate the answer logically. This web site lets a person try to find the answer randomly. If you keep pressing SUBMIT repeatedly, it is just as random as if you randomly change your box and name selection each time. Have fun with this (not-very-well-designed) page.

I later discovered the person had asked me to solve Bertrand's Box Paradox, but with president names instead of gold and silver coins.
 

The names of six presidents (Obama, Clinton, Carter, Reagan, Trump, Nixon) have been hidden randomly in three identical boxes, two names per box.
  • You know that
    • One box holds two Democrat names.
    • One box holds 2 Republican names.
    • The other box holds one of each.
  • Your Goal is:
  • Pick a box at random. Pick one name at random from that box.
  • Given: You pulled out a Democrat's name first ...
    • What is the probability that the other name in that box is also a Democrat?
the host revealed that the boxes contained:
Box 1
 
    Carter (D) / Clinton (D)    
 
Box 2
 
    Trump (R) / Nixon (R)    
 
Box 3
 
    Obama (D) / Reagan (R)    
 

Next Simulated Trial

What Box Number are you choosing?   Box 1 Box 2 Box 3

What name are you choosing from that box?   Left Name Right Name

Note these clarifications, that I thought were obvious from the description above:

* Send improvement suggestions to John at domain mazes,com
 
Do you know PHP? I need help coding a simple Input/Output on Server to keep track of grand total of everyone's trials.
1. Delay if file tags say another client is updating file
2. But continue anyway if delay is too long
3. Tag file so other clients know file is being updated
4. Open file, read four numbers as regular Comma delimited text
5. Increment some of those values
6. Write updated numbers back to beginning of file
7. Close file
8. Untag file so next client knows file is available
* * If you have free advice, I'd love to add it to this program.