There's no way to beat a random sequence; so a *fair* toss or game is impossible to beat using any maths at all.

Of course, analysis of coin tosses shows slight variances; coins don't usually turn over enough times to even it out.

For the national lottery though, the mixing is very thorough, and no amount of maths can improve your chances of winning; however, you can improve the amount you win by picking numbers that nobody else is likely to pick; but you still lose, on average by playing the lottery.