Mega da Virada: What science says about your chances of winning the lottery.

At 20 PM on December 31st, Brazil could gain new millionaires: the winners of the R$ 350 million Mega-Sena da Virada prize, whose drawing will take place at that time.
But what are the chances, according to science, that you are one of them?
Are there ways to increase the probability of winning? Are there combinations and numbers with higher or lower odds? And does participating in group bets and team games increase the likelihood of having to worry about potential wealth taxation?
What is more likely? To be struck by lightning, to be born with six fingers on your hand, to be bitten by a shark, or to win the Mega da Virada lottery?
BBC News Brazil spoke to four mathematicians to answer this and other questions.
Check it out while you can't yet afford to pay someone to read the news to you.
And remember that you can place your bet until 17 PM on the 31st.
What are the chances of a person winning the lottery?
According to Diego Marques, a professor in the Department of Mathematics at UnB (University of Brasília), what determines a person's chances of winning the lottery is the number of possible combinations in a given draw.
"The more possible games there are, the lower the chance of winning," says the mathematician.
In the case of Mega-Sena, the probability of correctly guessing all six numbers with a simple R$ 4,50 bet is 1 in 50.063.860, according to Caixa Econômica Federal.
In other words, the number of possible combinations of six numbers, considering the 60 available, is more than 50 million.
Therefore, by making just one combination, a person's chance of winning is one in over 50 million, or 0,000002%.
It's similar to putting 50 million names in a bag at random and having someone reach in and draw their own name.
Why do the odds of winning vary between different lotteries?
In Brazil, Caixa Econômica Federal currently holds a monopoly on lotteries and offers bettors 11 different options, with varying chances of winning.
According to Caixa, the odds of winning the top prize by betting the minimum amount in each of the lotteries are as follows:

According to Professor Diego Marques from UnB, the chances of winning vary because each lottery has different systems for selecting the games, with a variable number of possible combinations.
For example, in Mega-Sena, there are 60 numbers available, and the player chooses six of them in the simplest game.
In the Federal Lottery, 100 tickets are issued in each series. A person buys one ticket (which can be fractional), so the chance of winning is 1 in 100.
In Super Sete, the most recent lottery option available, launched in October 2020, there are seven columns, each with ten available numbers, and the player chooses one number from each column.
The chance of guessing a number in a column is 1 in 10, but since there are seven columns, the probability of guessing all seven simultaneously is 1 in 10 million.
"This is reflected in the prize value: the lower the chance of a simple bet winning the game, the higher the prize," notes Marques.
For example, in the Federal Lottery, the top prize is usually R$ 500, while in Mega-Sena the highest prizes ever recorded outside of the New Year's Eve draw exceed R$ 200 million.
What are the chances of no one guessing all six numbers in the Mega da Virada lottery?
According to mathematicians, this depends on the number of bets. But, considering that in 2020 they exceeded 260 million, this is a very unlikely event, they say, since there are just over 50 million possible combinations of six numbers.
"If we have 80 million simple bets, the chance of having no winner is around 20%," calculates Gilcione Nonato da Costa, professor in the Department of Mathematics at UFMG (Federal University of Minas Gerais).
"But of course, as the number of bets increases, that probability decreases," notes the mathematician, estimating that with 150 million bets, the chance of no one guessing all six numbers drops to 5%.
The Mega da Virada, however, has a helping hand for bettors: it doesn't accumulate, like the other Mega-Sena draws throughout the year.
Therefore, if no one guesses all six numbers correctly, the prize goes to whoever guesses five of them correctly, and then the odds of winning are much more favorable: 1 in 154.518.
This happens because, by playing six numbers but only having to guess five, it's as if the player is playing several games at the same time, since the possible combinations of five numbers become diverse.
Are there ways to increase your chances of winning the lottery?
According to mathematicians, the only way to increase your chances of winning is by playing more games.
This can be done in two ways: by playing several games of six numbers or by betting on more numbers, in what is called a multiple bet.
'The more games you play, the more chances you have of winning,' says mathematician from UnB.
But obviously, the more numbers that are selected, the more expensive the game will become.
To bet on seven numbers, the game costs R$ 31,50. To bet on 15, it is necessary to spend R$ 22.522,50.
"The more games you play, the more chances you have of winning. And the chance of betting on more numbers is the same [as playing more games]," says Marques, from UnB.
“For example, if you bet on seven numbers, it’s the same as making seven bets of six numbers. The probability in both cases drops from 1 in 50 million to 1 in 7 million. So, in fact, this is a good strategy,” says the mathematician.
But why does a multiple bet increase the chance of winning?
“When you bet on seven numbers, you only have to get six of them right. You have a 'cushion,' a number you can miss, and that greatly increases your chances. You can miss any of them and still get the other six right, multiplying your chances by seven,” he explains.
Costa, from UFMG, agrees and offers a suggestion.
“Instead of playing ten draws paying R$ 4,50 each, it’s better to play one draw for R$ 45 at once. The chance of winning is greater than splitting the bet,” he says.
The mathematicians' answer to this question is straightforward: no.
“The chance of any combination of six numbers is the same. It doesn't matter if you play the numbers you dreamed of or the numbers 1, 2, 3, 4, 5 and 6. The probability is the same: 1 in 50 million. It won't change,” says Marques, from UnB.
“Someone might say, ‘Wow, but it’s never come up as 1, 2, 3, 4, 5, 6.’ But I can give millions of examples of combinations that have never come up. So, in fact, 1, 2, 3, 4, 5, 6 is just another combination, and the chance of it appearing is the same as any other.”
Around the time of the Mega da Virada lottery, it's common for the press to feature reports showing the most frequently drawn numbers to date.
People then ask themselves: is it better to bet on these numbers or not to bet on them?
“The truth is that it makes absolutely no difference. What happened in the past does not influence the future draw. This is a fundamental premise of an honest random draw,” says Moacyr Alvim, professor at EMAp-FGV (School of Applied Mathematics of the Getulio Vargas Foundation).
"The conclusion is: ignore the numbers from the past, because they won't help you at all."
Costa, from UFMG, warns, however, that playing numbers that are frequently bet on, such as birthday dates — which restricts guesses to the digit 31, the number of days in a month — increases the chances of you ending up splitting the prize with other birthday bettors.
Does participating in group bets and team games increase the chance of winning?
Here's some good news: betting as a group actually increases your chances of winning.
“Generally, in group bets, people get together with many others to be able to make these bets with ten or eleven numbers. So the chance increases because everyone contributes a little, you gather hundreds or thousands of reais and you can make many more bets,” says Marques.
“This is the smartest and most practical way to increase your chances. You get your friends together, raise a considerable amount of money, and compete with more combinations. The trade-off is that the prize will be split, but it's a good strategy,” Costa agrees.
In the Mega da Virada lottery, which attracts more bettors, are there more or fewer chances of winning?
"The chance of winning is the same: 1 in 50 million. Your chance won't change at all whether you're the only one playing or the entire planet Earth," says the professor from UnB.
"The chance of winning is individual, it doesn't depend on the number of bettors. But the prize you will win, if you are drawn, that clearly changes," says Alvim, from FGV.
In the Mega da Virada lottery, he points out, there are two "antagonistic forces."
"While the number of bettors increases, so does the prize, which has been accumulating throughout the year. Given the high number of bets, splitting the prize with someone is more likely than winning alone, but even splitting it, the amount is so high that it should be greater than what Mega-Sena normally pays out for the rest of the year."
"You're far more likely to be bitten by a shark than to win the Mega-Sena lottery," warns Régis Varão, a mathematician at Unicamp.
According to him, estimates suggest there's a 5 in 10 million chance of being bitten by a shark, so you're five times more likely to end up between the jaws of a big fish than to become a millionaire on December 31st.
The same logic applies to getting struck in the head by lightning.
"The chances of you being struck by lightning are around one in a million, meaning you are 50 times more likely to be struck by lightning than to win the Mega-Sena lottery," Varão calculates.
Finally, about one in every 10 people are born with six fingers on each hand.
"That means it's about 5 times easier to be born with six fingers than to win the Mega-Sena lottery," says Marques, from UnB.
Do mathematicians play the lottery?
The professor from Brasília says there's a phrase in the mathematical world for that.
"The lottery is a tax for those who don't know math," he jokes.
"This isn't meant to discourage anyone, but really, from a mathematical point of view, the chances are very small. But I've played before, and I think the psychological aspect of dreaming about what you would do is cool; it's good for you. Behind the coldness of the numbers, there are things that help us."
Alvim, from FGV, points out that it's crucial to understand that lotteries are not a form of investment.
"Anyone who thinks that if they're smart enough or invest a lot of money they have a chance of winning is making a mistake. It's not an investment; the whole game is designed so that the vast majority of people lose money," he observes.
"It's simply a bit of fun. As fun, I think it's worthwhile. I, for example, bought a Mega-Sena lottery ticket and gave it to my mother-in-law as a Christmas present." ( BBC )


