The Math Behind Our Gambling