Gambling and math