Do you know where your variables are?  
PerlMonks 
Re: Spooky math problemby hdb (Monsignor) 
on Jan 09, 2014 at 20:47 UTC ( #1070027=note: print w/replies, xml )  Need Help?? 
In my opinion, this great thread still needs a simple Perl script to prove what's going on. Here it is, so that you can play the game yourself against the script. In order to avoid any confusion about the source of the numbers in the envelope you have to specify them as parameters to the script yourself. The third required parameter is the number of repetitions in the simulation to evaluate the odds.
IMHO, the script is simple enough to prove that no cheating is going on. If you play with the inputs you can see that if you provide numbers that are easily distinguishable (by the chose function) the odds are significantly larger than 50% (for example choosing 1 and 1 will lead to odds larger than 80%). If numbers are less distinguishable like 100 and 200, the odds will converge to 50%, and the simulation error will be larger than the advantage. Great puzzle!
In Section
Meditations

