Have you googled "machine learning," "neural networks," "artificial intelligence," or "deep learning?" This is what you're asking for. If you believe there are patterns in the lottery, then use your new found free time to learn a programming language, and take advantage of the thousands of free beginners' tutorials that will teach you the basics of writing pattern detection programs.
Here are two free courses you might find useful in getting a general idea of the topic, even if the math is over your head:
https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-867-machine-learning-fall-2006/index.htm
https://ocw.mit.edu/courses/mathematics/18-657-mathematics-of-machine-learning-fall-2015/index.htm
Python is probably the best language for a beginner to learn due to its simple syntax and widespread usage. If you need a very gentle, hand-holding intro, I recommend Codecademy. They've got a very good and free Python course https://www.codecademy.com/learn/learn-python-3 If you can finish that course, then try the intro to machine learning course https://www.codecademy.com/learn/paths/machine-learning
Will you ever be able to write your own lottery predicting program with these skills? I doubt it, because I don't believe the lottery is rigged to the extent that a lay person could glean a pattern. But, nobody is going to carry out your projects for you for free. You have to learn how to do this stuff yourself. Good luck, dr san.