A man names Stefan Mandel, a mathematical genius cracked the code to win tho lottery. He computed all possible equations and finaly got some algorithms that made him won not just twice but 12 times.
Since the government becomes aware of his motives although it is legal in nature, they change the lottery rules and law for Mandel prevent winning. They even ban computer printing tickets for him to have hindrance. He even go to other countries to test his equations and even got some investors to buy tickets for him to succeed on his winning combination. Unluckily, he got prisoned on the last country and never did the act again.
If you wanted to crack the code like him, you shoud:
1. Be a mathematical genius
2. Crack the new algorithms for the new system of lottery since its computerized now
I guess being lucky comes to his genius mind in the first place.
Source Link:
https://youtu.be/eOX7acjkGv0
Let's say he has cracked the algorithmic code for the lottery. Now do you think all people can do that? Of course most gamblers depend on luck and not on cracking codes just to win.