Hacker News new | past | comments | ask | show | jobs | submit login

I've always wondered what would be the chance to win the lottery if I played consistently a certain set of numbers. Every day, no excuses.

So I wrote a script to scrape the lottery site archive and check retrospectively the success rate [0]. Well.. the result is what you would have expected.

[0] https://ggerganov.github.io/lottery-check

Bonus - clicking the "Random" button helps you really understand how futile playing the lottery actually is.




Except for those few cases where the people planning the lottery don't know math and buying all the combinations costs less than the amount of the wins :)

A Romanian Economist did this in the 90's: https://thehustle.co/the-man-who-won-the-lottery-14-times/


That would be 49!/(43!6!) = 13983816 combinations. So, on average, you need to play 13983816 times before your first win (geometric distribution). At one game a day, that's nearly 40000 years.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: