| Not directly related but while I have the eyes of some technical people reading about the lottery, I want to throw this out there. I have 4+ years worth of daily scratch off lottery ticket results from a dozen or so different states. Every day, the state updates their website with the numbers of tickets remaining at each ticket level. I've been scraping that and saving it. If anyone would find this data interesting I'd be happy to share the SQLite database. I just ask that you share your code/queries and what you find. - Are the grand prizes truly random? Or are they stratified? - Do games end with an unusually high number of grand prizes unclaimed? - Is there a buffer when a game is first released when no grand prize is possible? You could scan some Working Papers to get ideas of things to check the integrity of: https://docs.zohopublic.com/file/pze38fbeed85562834d5696105b... Those working papers have things like "guaranteed low-end prize structures" per pack of tickets. Tips based on those working papers: - Buy from a fresh pack until you get a winner then stop. Since there's a guaranteed number of winners per pack, each loser you scratch improves the odds for the rest of the pack. - Don't buy from a pack that's already had a big winner. Most working papers stipulate no more than 1 large prize per pack. |
https://docs.zohopublic.com/file/pze38c35faf87eb654907b51890...
I'm using it to power https://scratchoff-odds.com right now.