Way back when, I bought $5 worth of tickets each week. This was back when BASIC programming was almost necessary to get anything out of your computer. I wrote a program where I recorded my lotto numbers for the week, and where I could enter the actual winning numbers after the draw. Then I would press the "calculate" option, and I would be given the results pronto. I was actually surprised that I frequently won one or two of those little 4 out of 5 hits that would cover my losses for the week. Of course, I was always behind overall, because that's the nature of legal gambling. While it was fun pressing the calculate option, I probably spent more time writing the program than the time I saved on the drudgery of manually checking the the numbers by hand.