I think it is depending on the type of gambling that we have played because in real card game I believe that mathematics can help solve the distribution of card on each player to assist one's judgment, but computer generated game will never be solve by mathematics since I think it was randomly generated by codes.
That's the point, you can win a lottery by solving algorithm if you are good enough in mathematics, but there is almost no chance that you can win in gambling using mathematics.
Mess statement, you say you believed math can help you win in gambling but later you said almost no chance to win in gambling using Math.
Even in real card game I believe math can't do anything and even if there is, do you still have time to compute? As for lottery, because of curiousity i've search about it few years ago if math can do anything about it and I found, all is just a hoax. Logic, why would they sell those formula in a small amount which is incomperable to the amount of jackpot in lottery.