# The Truth About Winning the Lottery

The lottery is one of the most popular gambling activities in America, with Americans spending upwards of \$100 billion on tickets each year. State governments promote lotteries as a way to raise revenue for schools, but the true story is much more complex and more troubling. Here are a few things to keep in mind before you buy your next ticket.

The idea of drawing numbers for a prize seems to be as old as civilization itself. People have long used games of chance to settle disputes, from the biblical Book of Numbers to ancient Greek and Roman games of skill, such as archery or chariot racing. The first recorded lotteries, which sold tickets and awarded prizes in the form of money, were probably in operation by the 15th century. The word “lottery” is thought to have originated in the Low Countries, where it was recorded in town records as early as 1445 at Ghent, Utrecht and Bruges, though the use of the term to describe public drawings for money dates from two centuries later.

Modern lotteries use a random selection process to select winning numbers. The more matching numbers a player has, the higher their chances of winning. But what if we could calculate how often we’d need to see the right combination of numbers to get our money? Using a computer algorithm and a few decades of historical data, mathematician Stefan Mandel proved that you can use mathematics to predict the outcome of a lottery.

His method involves analyzing the numbers on a winning lottery ticket and calculating how often each number is likely to appear, or not, depending on the total number of numbers and the order they’re drawn in. Then, by comparing those probabilities with the size of the jackpot and the expected value of winning (the amount that would be received if you won the lottery and invested it over three decades), he was able to predict the likelihood of hitting the jackpot.

While many people still choose their numbers based on superstitions, mathematical reasoning can help you make more informed choices. For example, it’s best to avoid hot and cold numbers or choosing a quick pick. Instead, look for a combination that has the highest ratio of success to failure, which can be calculated with a simple formula.

If we want to understand why some numbers seem to be more lucky than others, the first thing we need to do is learn about the laws of large numbers. These are the rules that determine how unlikely it is for a specific outcome to occur, and which combinations should be avoided at all costs.

A lot of people play the lottery because they like to gamble, and it’s hard not to admire the big-dollar jackpots that adorn billboards across the country. But there are deeper issues at stake here: The lottery is a tool of inequality, dangling the promise of instant riches in a society with limited social mobility.