A winning Mega Millions game was sold at a gas station in SC. Check your tickets

A Mega Millions ticket recently bought in the Palmetto State was one number shy of winning the game’s grand prize, South Carolina Education Lottery officials said in a news release.

For coming so close, the ticket buyer will receive a $40,000 payday, according to the release.

Now the search is underway for the winner.

What turned out to be the five-figure winning ticket was sold at the Hickory Point gas station/convenience store at 2806 E. Cherokee Street in Blacksburg, officials said. That’s near the state line between South Carolina and North Carolina.

The winning numbers from Tuesday’s drawing were 3, 5, 16, 58, 59 and Megaball: 11.

The winning ticket matched four white ball numbers and the gold Megaball number, lottery officials said. Because “4” was the Megaplier number that was drawn, the prize was quadrupled for the $40,000 prize.

The odds of matching four white balls and the gold Megaball are 1-in-931,001, according to the release.

The winner has 180 days to claim the prize, according to lottery officials.

The winner will be allowed to retain some privacy, as South Carolina is one of 11 states — along with Arizona, Delaware, Georgia, Kansas, Maryland, New Jersey, North Dakota, Ohio, Texas and Virginia — that allow lottery winners to remain anonymous.

“Sign the back of your ticket and put it in a safe location until you’re ready to come forward to claim the prize,” lottery officials said.

For complete information on claiming prizes, go to sceducationlottery.com.

The Hickory Point gas station will receive a commission for selling the winning ticket, when it is turned into lottery officials.

Because there was no grand prize winner on Tuesday or Friday, the jackpot for the next Mega Millions drawing has risen to $358 million.

Tickets are $2, and could cost more with additional options.

The odds of winning Mega Million’s grand prize are 1-in-302,575,350.