女生小视频

Mathematics

The foolproof way to win any lottery, according to maths

How can you guarantee a huge payout from any lottery? Take a cue from combinatorics, and perhaps gather a few wealthy pals, says Jacob Aron

By Jacob Aron

3 July 2025

How can maths help you win the lottery?

Brandon Bell/Getty Images

I have a completely foolproof, 100-per-cent-guaranteed method for winning any lottery you like. If you follow my very simple method, you will absolutely win the maximum jackpot possible. There is just one teeny, tiny catch 鈥 you鈥檙e going to need to already be a multimillionaire, or at least have a lot of rich friends.

Let鈥檚 take the US Powerball lottery as an example. To play, you pick five different 鈥渨hite鈥 numbers from 1 to 69, and a sixth 鈥渞ed鈥 number from 1 to 26 鈥 this last number can be a repeat of one of the white ones. How many different possible lottery tickets are there? To calculate that, we need to turn to a field of mathematics called combinatorics, which, as the name suggests, is a way of calculating the number of possible combinations of objects.

Picking numbers from an unordered set, as with a lottery, is an example of an 鈥n choose k鈥 problem, where n is the total number of objects we can choose from (69 in the case of the white Powerball numbers) and k is the number of objects we want to pick from that set. Crucially, because you can鈥檛 repeat the white numbers, these choices are made 鈥渨ithout replacement鈥 鈥 as each winning numbered ball is selected for the lottery, it doesn鈥檛 go back into the pool of available choices.

Mathematicians have a handy formula for calculating the number of possible results of an n choose k problem: n! / (k! 脳 (n k)!). If you鈥檝e not encountered it before, a mathematical 鈥!鈥 doesn鈥檛 mean we鈥檙e very excited 鈥 it鈥檚 a symbol that stands for the factorial of a number, which is simply the number you get when you multiply a whole number, or integer, by all of those smaller than itself. For example, 3! = 3 脳 2 脳 1 = 6.

Plugging in 69 for n and 5 for k, we get a total of 11,238,513. That鈥檚 quite a lot of possible lottery tickets, but as we will see later on, perhaps not enough. This is where the red Powerball comes in 鈥 it essentially means you are playing two lotteries at once and must win both for the largest prize. This makes it a lot harder to win. If you just simply added a sixth white ball, you鈥檇 have a total of 119,877,472 possibilities. But because there are 26 possibilities for red balls, we multiply the combinations of the white balls by 26 to get a total of 292,201,338 鈥 much higher.

Subscriber-only newsletter

Sign up to Lost in Space-Time

Untangle mind-bending physics, maths and the weirdness of reality with our monthly, special-guest-written newsletter.

New 女生小视频. Science news and long reads from expert journalists, covering developments in science, technology, health and the environment on the website and the magazine.

Ok, so we have just over 292 million possible Powerball tickets. Now, here comes the trick to always winning 鈥 you simply buy every possible ticket. Simple maybe isn鈥檛 quite the right word here, given the logistics involved, and most importantly, with tickets costing $2 apiece, you will need to have over half a billion dollars on hand.

Is it enough to absolutely guarantee a big payout? That鈥檚 a slightly tricky question to answer. The Powerball jackpot rolls over each week it remains unclaimed, meaning the amount you can win varies. But there have been only of the jackpot getting higher than the $584 million you need to buy every ticket, so most of the time it鈥檚 not worth it. The profit in doing so is further diminished by the fact that jackpots can be shared by multiple winners who choose the same numbers, and that around 30 per cent of the winnings are taken in tax.

In a way, none of this should be surprising 鈥 if there was a guaranteed way to win lotteries and make a profit, people would be doing it all the time and lottery runners would go bust. But surprisingly, badly designed lotteries do crop up 鈥 and savvy investors sweep in to make a killing.

One of the first examples of this kind of lottery busting involved the writer and philosopher Voltaire. Together with Charles Marie de La Condamine, a mathematician, he formed a syndicate to buy all the tickets in a lottery linked to French government debt. Exactly how he went about this is murky and there is , such as not having to pay full price for the tickets, but the upshot is that the syndicate appears to have won repeatedly before the authorities shut the lottery down in 1730. Writing about it later, in the third person, Voltaire said 鈥渨inning lots were paid in cash and all in such a way that any group of people who had bought all the tickets stood to win a million francs. Voltaire entered into association with numerous company and struck lucky.鈥

More modern lotteries have also suffered the same fate. A famous example is the Irish National Lottery, which was bought out by a syndicate of a couple dozen people in 1992. At the time, players had to pick six numbers from 1 to 36, which our n choose k formula tells us produces 1,947,792 possible tickets. With tickets costing 50 Irish pence (the currency at the time), the conspirators raised the necessary 拢973,896 and began buying tickets for an estimated 拢1.7 million prize draw.

Lottery organisers got wind of the scheme and began limiting the number of tickets each vendor could sell, meaning the syndicate only managed to purchase about 80 per cent of ticket combinations. In the end, it shared the jackpot with two other winners, giving it a loss-making prize of 拢568,682. Luckily for the syndicate, the lottery had also introduced a guaranteed 拢100 prize for matching four numbers, which .

The Irish National Lottery quickly changed the rules to avoid a similar scheme, and these days requires six numbers chosen from 47, upping the number of tickets to 10,737,573. The jackpot is capped at 鈧18.9 million, while tickets are 鈧2 each, ensuring that buying the lottery will never be profitable.

Despite the fact that the risks of a poorly designed lottery should now be well understood, these incidents may still be occurring. One extraordinary potential example came in 2023, when a syndicate won a $95 million jackpot in the Texas State Lottery. The Texas lottery is 54 choose 6, a total of 25,827,165 combinations, and tickets cost $1 each, making this a worthwhile enterprise 鈥 but the syndicate may have had assistance from the lottery organisers themselves. While the fallout from the , and it is not known whether anything illegal has occurred, the European-based syndicate, working through local retailers, may have acquired ticket-printing terminals from the organisers of the Texas lottery, allowing it to purchase the necessary tickets and smooth over the logistics. The lottery commissioner at the time has denied being part of any illegal scheme. And no criminal charges have been filed 鈥 the lawyer that represents the syndicate that claimed the jackpot, known as Rook TX, said 鈥淎ll applicable laws, rules and regulations were followed.鈥

So there you have it. Provided that you have a large sum of upfront cash, and can find a lottery where the organisers have failed to do their due diligence with the n choose k formula, you can make a tidy profit. Good luck!

Topics:

Sign up to our weekly newsletter

Receive a weekly dose of discovery in your inbox! We'll also keep you up to date with New 女生小视频 events and special offers.

Sign up
Piano Exit Overlay Banner Mobile Piano Exit Overlay Banner Desktop