Look, when the jackpot gets very high, then it becomes an actual investment.
If the odds are 1 in 175 million, then a $2 breaks even when the after tax, instant profit exceeds $350 million. In this particular jackpot was $564 million. Instant payment of $381 million. Now, taxes (and the chance of splitting it with others) makes this not a real investment, but it got pretty darn close.
But if the jackpot got to say $800 million, buying a ticket becomes a mathematically good bet.
But there are other things going on. Honestly, if you hit the jackpot for anything over 20 million, it won't make that much of a difference. It will radically change your life in pretty much the same way. Most likely you will gain somewhere between six months to one year of happiness, a year or so of realizing that things are going poorly and then the rest of you life with a CRAPLOAD of depression and anger about how everything went to hell.
Why? Because if you gain something too quickly and easily, you neither value it nor do you know how to maintain and keep it.
Chances are very high you will want to help out a few people you know that really need it, which will cause a bunch of people that don't really need it to come begging for help. If you turn them down, suddenly your friends turn on you. If you don't turn them down, suddenly you are broke.
Your leisure activities will dramatically change and your friends won't be able to afford to go with you unless you pay for them. Which turns the relationship from friends to hanger-ons. It's hard enough to keep family from disintegrating, let alone your friendships.
Honestly, my advice to anyone that wins is to REFUSE TO TELL ANYONE YOU WON. At most, tell them you won a smaller amount. Don't sign anything giving up your privacy, instead keep it a secret from EVERYONE you are not married to. Set up a Trust that will anonymously help people you think truly need it, and do NOT take credit for it.
You can't 'bring your friends' along for the lifestyle, but you can occasionally show them a fantastic time.