Note: This has been updated to reflect the changes in the ranges for the numbers.The powerball lottery is big right now, and it got me to thinking about how unlikely it is to win (that's nothing new). The odds of winning are about one in 175 million. Assuming about 100 drawings a year, and if you played every time, this means that you might expect to win once about every 1.75 million years. That's a long time between winnings.
Anyway, I put together a simple statistical simulation (still a work in progress) that lets you run experiments with how long it might take your numbers to hit the jackpot. It's on googledrive here.
Try it yourself on google drive here
The dates get big. This hit some weirdness in the date formatting in Chrome, which doesn't seem to like it if the year gets above about 276,000 A.D. I guess that's a reasonable edge case for Chrome to consider low priority. Anyway, I had to make use of the fact that the Gregorian calendar repeats every 400 years to get around this.
It would be nice to add some additional visualization components to this - a dynamic graph showing you move out in time, occasionally almost hitting it big, and all the while displaying the amount spent to date. This would help drive the simple point home, but I think seeing those crazy looking years in this initial version does, too.