Predicting lottery outcomes