I've read some stories on people who have figured out how to exploit scratch-off lottery tickets. I'm not sure if it ended in legal ramifications, but I know one guy actually went to work for the lottery company because he figured out the pattern and was able to predict winning tickets.