Wired ran a 2011 article about how a statistician, Mohan Srivastava, cracked Ontario scratchcards such as this one.
First, he thought about the program that produced the numbers on the cards.
'Of course, it would be really nice if the computer could just spit out random digits. But that’s not possible, since the lottery corporation needs to control the number of winning tickets. The game can’t be truly random. Instead, it has to generate the illusion of randomness while actually being carefully determined.'
He realised that if a card had a certain feature, it was likely profitable.
Srivastava was looking for singletons, numbers that appear only a single time on the visible tic-tac-toe boards. He realized that the singletons were almost always repeated under the latex coating. If three singletons appeared in a row on one of the eight boards, that ticket was probably a winner.
How might a program that produced the numbers work?
And how did Srivastava infer that consecutive singletons would be predictive of winning cards?