A Simple Bet … On Prime Numbers
Okay. So, Eve, The Magician has a new TV show with a new trick. She talks to the camera and announces:
“For one night only, I want you to stake $1 on a bet. For this, you will generate a random number, and I will do the same. If those numbers share a factor, I will give you your money back, and will pay you $1 more. Think about it, half of the numbers are even. And you can play this game as many times as you…