Mathematics for gamblers