Here I will talk about the forms of lottery in general, not just the ones you find in your country. This is because of the difference between lottery programs, as some programs rely on electronic applications to extract the winning number, while other programs rely on manual methods in order to make the matter appear more transparent.
In all of these cases, mathematical equations can play a role in analyzing the results and helping to choose the numbers in what we can call logical expectations, but this cannot be specific for deciding which numbers will definitely win.
Mathematical calculations only eliminate guesswork and doubt, but they cannot determine the final result. The desired results depend on pure luck and chance (except in cases of manipulation), so we cannot rely solely on mathematical calculations.
Also mathematical calculations are not enough to reassure us that we will win the lottery, but they can help us make rational decisions about how much to invest and which numbers to choose.