Skip to content(if available)orjump to list(if available)

There Was a Texas Lottery Arbitrage

There Was a Texas Lottery Arbitrage

218 comments

·March 5, 2025

adiabatichottub

> In April 2023, an entity called Rook TX effectively purchased the jackpot, collecting a one-time payment of $57.8 million, by acquiring virtually all of the 25.8 million possible number combinations. The operation was planned in Malta and funded by a London betting company. It was carried out by four Texas retailers, all connected to online sales companies called couriers.

Well, as the saying goes, "It takes money to make money."

tarentel

A lot of people are focusing on the courier aspect of all this which is fine, but I didn't know there were any lotteries you could just outright win, with a profit, if you had enough money to buy enough tickets. I assumed people would design lotteries where the cost/reward ratio was such that this would never make sense.

toast0

There's a couple ways this works. Progressive jackpot games (Powerball, Mega Millions) allocate some amount of every ticket sold for winnings, but if the jackpot isn't won on a particular drawing, excess winnings are added to the prize pool for the next drawing. After a certain point, the jackpot prize for a single winner is more than the cost of buying all possible tickets. There's a chance of sharing a jackpot, which is hard to model, but makes the payout worse.

A similar game feature is "roll down", again excess prize money accumulates over several drawings, and when a certain criteria is met, the excess prize money is distributed over some set of tickets (possibly all winners). Again, this sets up the possibility of a positive expected value, and you have to consider other ticket buyers as well.

A trickier one is for scratch off games. Many lotteries share the number of tickets sold and the prizes left. If you assume all (big?) prizes are redeemed shortly after their ticket is sold, you can estimate the expected value of purchasing the remaining tickets. When the game opens, the expected value of a ticket is less than the purchase price, but depending on the observations of tickets sold and prizes redeemed, you might estimate that the expected value of the remainder of tickets has improved.

Ex: if there were 1 million scratchers printed, the cost per scratcher was $1, and there was only one prize $500,000on open the expected value of a $1 ticket would be $0.50. If the winning ticket was redeemed, the expected value of remaining tickets would be $0. If it was reported that 999,999 tickets were sold and the winner had not yet been claimed, it might be reasonable to assume a higher expected value for the last ticket --- although there's no rigorous proof there, someone may have purchased the winning ticket already and not redeemed it for whatever reason.

justjash

I'd imagine scratchers would be almost impossible unless you could somehow get all the tickets from every place they are sold. I'm not into gambling, but I guess it might work if there is X number of prizes/money per roll of tickets.

mtremsal

IIRC the remaining risk lies in multiple people winning or attempting arbitrage simultaneously, thus dividing the expected revenue by the number of winners. So not a free lunch.

cgriswald

IIRC, there was at least one case where the lottery got wise that this was happening and refused to sell the parties involved any more tickets. They had enough tickets for better than even odds, but not a guarantee. IIRC, they won.

bluGill

I've heard of this happening, but it was 20+ years ago and so I'm not sure how to look this up.

mattmaroon

The lottery doesn't work the same way as most other forms of gambling. For the house, it is not zero-sum. Their profit is a fixed percentage of sales, and the bigger the prize, the more tickets people buy. The money won from the lottery was set aside at the time of purchase, it's already gone to the people running the lottery.

So the lottery makes more the bigger the prize gets. They don't really care who wins or how much they get.

anonu

It's about expected value. The assumption is more people buy in at higher payouts causing the pot to split. Usually the EV is negative. The real insight here was that this state lottery was not so popular as evidenced by long spans of time between payouts.

Net EV=cost to buy in - probability of winning * (jackpot size / number of people you split it with)

If you have a 1% chance of winning $100 your EV is $1. If you pay $1 to play you breakeven. If the pot is $200 then your EV is $2. You would pay $1 all day for that. But again the risk is more people want to play. If 2 people win then your EV drops back to even.

dec0dedab0de

Im not sure about this one, but it usually happens with a progressive jackpot that gets bigger every time someone doesn’t win.

smelendez

Lottery couriers are companies that will buy and scan lottery tickets for you for a fee. Most of the time, they're not actually doing much courier work. If you win a small amount, they'll cash the ticket for you and credit it to your account, and if you win a big enough amount that you have to cash it in directly with the state, they'll actually deliver you the winning ticket.

It's basically a workaround for restrictions on online lottery sales. I'm not sure how states should handle online lottery gambling—there are a lot of considerations around addiction, potential fraud, money laundering, and erosion of retailer lottery revenue and shopper base—but I don't think this is it.

ryoshu

A friend is working on a system that automates scratch off tickets and uses computer vision to detect winners. Not sure what the end product is.

rigrassm

The Texas lottery has an app you can use to scan the tickets unique barcodes printed under the scratch off layer and find out if and how much the ticket won.

Haven't ever dug into it but the app doesn't require a login to use that function so I'm willing to bet there's an unauthenticated API endpoint that could be sniffed out (they may possibly have it documented somewhere too).

Outside of being a fun itch to scratch, using the app directly is fast enough with very little effort.

nosioptar

It'd be better to scan the barcode that lotto machines scan to determine if it won. It's possible, but rare, to get a misprint where the ticket does not have winning symbols, but scans as a winner.

I pick up and scan any scratchers I find littered near stores. I've made a few hundred dollars over the years on misprints like that.

Almondsetat

The Gambl-o-Matic?

justinclift

> Not sure what the end product is.

Money? :)

withinboredom

why.... not just give the user the ability to see it and evaluate? Why the AI?

Carrok

This is peak late stage capitalism.

gblargg

> by acquiring virtually all of the 25.8 million possible number combinations

That must have been tense knowing they didn't purchase that last fraction of a percent.

qingcharles

Yeah, I'd be sweating thinking about the last handful that were missed.

ronyeh

Like when you use that last discard to attempt to draw the flush five.

criddell

Now this story that popped up last week makes some sense:

https://www.texastribune.org/2025/02/27/texas-senate-lottery...

conductr

It’s a dumb politician response too. They bought $26m in tickets, they could have bought a plane ticket to buy them in person at a 7-11 in Texas.

bena

That number seems wrong. The number of combinations should be 54 x 53 x 52 x 51 x 50 x 49. Which is 18.6 billion-ish.

What am I missing here?

teraflop

You're overcounting by a factor of 6! = 720, because you're counting different orderings of the same numbers multiple times. "1,2,3,4,5,6" and "6,5,4,3,2,1" are not different tickets.

bena

Shit, I see what you're getting at.

With 54 x 53 x 52 ... you get all of the permutations of all the sequences. It generates 1,2,3..., 2,1,3..., 3,1,2..., etc.

Yeah, I missed that. And each sequence has 6! permutations. Etc.

madcaptenor

Divide by 6!=720 because the order doesn’t matter.

WatchDog

I used to work for the Australian parimutuel(aka tote or pool)[0] betting operator.

All the proceeds for a race are placed in a pool, the operator deducts a percentage of pool as a takeout, and the rest is divided among the winners, or. is carried over into a jackpot.

We had special bulk betting integrations for quantitative bettors, and even offered rebates on the takeout revenue, it's not secret, although it's not widely publicised.[1]

There are stories of traders that have made lots of money betting in parimutuel markets[1]

[0]: https://en.wikipedia.org/wiki/Parimutuel_betting [1]: https://www.sportstradingnetwork.com/article/rebates-global-... [2]: https://www.bloomberg.com/news/features/2018-05-03/the-gambl...

femto

One of the standouts being the syndicate run by David Walsh (of MONA fame) and Zeljko Ranogajec. They made money because the rebates swung the odds in their favour [1].

My take is that: the syndicate wins because the odds were swung in their favour. The tote wins because even with the discounted percentage the increased pool size offset the rebate and made them more money. The rest of the mug punters lost since the syndicate was winning a portion of the pool they would have otherwise won. The rebates are a mechanism to reliably transfer additional money from mug punters to the tote via an enabling middleman (the syndicate).

[1] https://www.perthturftalk.com.au/discussion/discussion/11724...

jamesfinlayson

Which one? What became UBet or the one that is still TAB?

WatchDog

Tabcorp

hinkley

That couple in New England that was doing it probably made more money off of selling their story to Hollywood than they did off the lottery tickets.

The amount of time they were putting into their “scheme” sounds brutal. I think a lot of people here could have netted more money per hour by studying up to pass a FAANG interview instead of buying lottery tickets one at a time.

danielmarkbruce

100%. There are arbs not worth doing all over the place.

hinkley

They were making something like $20+ an hour each if I recall correctly. Better than working retail of course but he’d have been better off keeping his career longer.

danielmarkbruce

I guess he does get a cool story as mentioned... which isn't nothing in life.

anonu

Manufactured spend is a common arb. My favorite was when the US Mint had a free shipping deal and let you buy coins with credit cards. Someone figured out how to buy many $100k coins, wheel them into the bank, payoff his card and get free airline tickets for many years.

Lookup r/churning.

thaumasiotes

> people here could have netted more money per hour by studying up to pass a FAANG interview

My experience of that was that Google asked me to interview, I did, my recruiter congratulated me on passing the interviews and told me to expect a job offer by the end of the hiring cycle, and then at the end of the hiring cycle she informed me that, although I'd passed the interview, my interview performance was too poor to be considered for hiring.

carabiner

> although I'd passed the interview, my interview performance was too poor to be considered for hiring.

In what world of hiring would passing an interview be considered a failing interview? If it's too poor for hire then it's a fail.

Raidion

I've never this at Google, but at my company, if you pass the technical screen you're offered to hiring managers. If they don't want you on your team because they want more leadership (or less leadership), or if there were 5 senior python roles and you were the 6th person to pass the interviews, you still won't get hired.

sophacles

Interviews serve 2 functions.

1. Weeding out the people you surely don't want... that is it answers: does this candidate meet the minimum bar for working here?

2. Providing enough information about a candidate to give them a score... that is it answers: how good is this candidate?

You can "pass" an interview - that is the answer to question 1 is "yes, this person meets our qualifications", but fail in question 2 under conditions where there are more qualified candidates than there are positions. It's really common actually to wait until there are a few qualified candidates before making a hiring decision, rather than just hiring the first person that meets the minimum standards. This bit of hedging allows for making better teams from the available hiring pipeline (on average anyway).

VirusNewbie

You should try again, there's a lot of variation on interview performance. Also, Google is a bit unique in that they put a lot of emphasis on what your thought process is, compared to other FAANGs. If you just code a working solution and didn't ask enough questions, that might only get you a mediocre score.

closewith

Damn, bro, sounds a little like a lottery.

thaumasiotes

> You should try again, there's a lot of variation on interview performance.

Read the comment again. This is not a story about interview performance. My interview performance didn't change after I completed the interview.

If Google doesn't want to hire you, they won't, and your interview performance is irrelevant enough that they feel free to revise it retroactively. Perhaps they aren't willing to state their actual reasons.

Studying is not a sensible approach to this problem. You would have to address something they actually cared about.

null

[deleted]

AcerbicZero

The lottery is a tax on people with poor judgement skills and I'm not comfortable with the state taking direct advantage of its vulnerable citizens.

throw16180339

While I understand concerns about the lottery exploiting vulnerable people, one reason for having a state lottery is that it provides a legal alternative to illegal numbers rackets (https://en.wikipedia.org/wiki/Numbers_game), which were widespread before state lotteries became common. Criminal organizations profited from these underground games, often operating without oversight or consumer protections. A state-run lottery at least ensures transparency and directs revenue toward public services rather than illicit enterprises.

bluGill

OTOH, legal lotteries get a lot more people to gamble. I suspect that people who gamble either way gamble more as well, though this needs a fact check that I don't know how to find.

jamesfinlayson

Probably, although Australia's lottery operator experimented (briefly I understand) with making their lottery and wagering products available through a single website/gateway - I don't think it lasted because while there was some overlap between lottery players and gamblers, it wasn't big, and I think while gamblers could be enticed to buy lottery tickets, it was much harder to entice lottery players to dabble in betting on horses or sports games.

djeastm

How about regulated private industry as another option? Seems to work ok for cannabis/alcohol/tobacco and such vices.

potato3732842

That's just a quality vs quality argument with an appeal to emotion at the end.

Not everyone impoverished by state sanctioned gambling would do so in an illegal only world. You can bicker about what the conversion ratio is but the fact of the matter is that it exists. And no, I don't know what it is.

chabska

If you really believe that argument, why don't we follow it to the logical conclusion, that all crimes should be made into state enterprises. State home burglary? State cryptocoin rugpull? State hitman? State jaywalking?

jayd16

As long as you do the math on the trade off of added safety vs added availability and pick the best option in every specific case you can apply the technique consistently to every situation without issue.

throw16180339

That's a slippery slope argument. Gambling fundamentally differs from crimes like burglary or fraud — gambling is a consensual activity that can be regulated and taxed, while burglary and fraud inherently harm unwilling victims.

State lotteries don't represent "state-run crime" but rather transform existing underground markets into legal, regulated alternatives. Illegal gambling operations have long existed, typically run by criminal organizations offering no consumer protections or public benefits. State lotteries provide transparency and channel revenue toward public services instead of organized crime.

Following your reasoning would suggest that legalizing and regulating alcohol or cannabis equates to "state burglary" or "state fraud" — clearly an absurd comparison. The objective isn't to convert crimes into government enterprises, but to acknowledge when prohibition is ineffective and provide a safer, regulated alternative.

cbozeman

If you really want to take things to their logical conclusion, kill everyone who breaks the law.

Eventually you'll have no lawbreakers. Either because everyone's dead, or because everyone knows they'll be killed if they break the law.

Either way, you end up with a crimeless society.

Hopefully you can see the problem with "taking things to their logical conclusion."

davidcalloway

I get the sentiment but I've never really understood why this saying is so popular. A tax is a specific word with a real meaning. It is not voluntary. By this logic alcohol and cigarettes are themselves a tax on people with poor judgement, as well as many other products.

I myself have never understood the thrill payoff that must exist for lottery ticket buyers, but I cannot call it a tax.

AcerbicZero

I call it a tax because it is a government organized/run operation with the objective of removing wealth from individuals for (ostensibly) the betterment of the citizenry as a whole.

My complaint is about the targeted nature of lotteries and the extremely poor investments they make for individuals who tend to already struggle in this area. This is compounded by the nature of the education system being operated primary by the same government.

quickthrowman

The only reason the government is involved is because organized crime is who runs lotteries in the absence of the state. People would still gamble with black market lotteries.

bombcar

> I myself have never understood the thrill payoff that must exist for lottery ticket buyers, but I cannot call it a tax.

The thrill is being able to dream for a week about what you'd do with the winnings.

For the vast majority of "the poor" who buy a ticket, that's what they're buying.

There are also a few who spend all their money they might have on lottery tickets, but those aren't much of the total number of people.

autoexec

> The thrill is being able to dream for a week about what you'd do with the winnings.

Exactly. and as bad as the odds are, it's still the best chance they have to ever be rich.

lurk2

> There are also a few who spend all their money they might have on lottery tickets, but those aren't much of the total number of people.

Is there any evidence of that? I can recall reading that alcohol consumption, for example, has a Pareto distribution skewing in favor of so-called "heavy users" (whom most of us would refer to as alcoholics). I'd imagine a lot of vice industries are similar. Is there any evidence to suggest lottery ticket purchases are distributed across a large number of infrequent, low-volume purchasers?

bluGill

> The thrill is being able to dream for a week about what you'd do with the winnings.

I get the same thrill because I dream of finding the winning ticket on a sidewalk. Much cheaper, and the walk is good for me.

barbazoo

I think it's not meant as a literal tax. The idea is that "poor" (I've always understood it as a tax on the poor) people don't understand the math enough to know how minuscule the chances are of winning. Because they don't know, they think buying lottery tickets is a financially good idea and that's why they do it.

asdfasvea

'Tax' like most words, does not in fact have a real well defined meaning.

Remember how Pluto stopped being a planet because 'planet' went from just a word to a technical term with a well defined definition? Most words don't have that.

So, tax is any money given to the government. Income tax, sales tax, fees for registering cars, admittance to national parks, etc etc. Anytime the government collects any money that is a tax.

To paraphrase a great statesman---a lottery is just a tax with extra steps.

potato3732842

I've always considered it a Freudian slip because the people who see gambling as screwing poor people out of their money are mostly the same people who are in favor of boutique taxes and government carrot and stick type stuff.

cool_dude85

As far as I am familiar, considering the actual cash flows, state lotteries do very strongly tend toward screwing poor people out of their money. Do you have some evidence otherwise?

gosub100

The same people screaming to legalize weed because enforcement doesn't work. If I could change the lottery I would remove the inflated annuity value vs lump sum. And incorporate the tax into it too, so the jackpot amount is, in fact, the amount the winner gets deposited. I would also like to see a limit on the odds. The current 175M-1 or whatever is just obnoxious. Maybe 50m-1 or a bit higher. I once approximated the chances by expressing it as choosing one particular house, in a major US city. And from there, choosing one specific power outlet in one room. What's worse is the ticket prices is increasing soon to $5 from $2. So we're going to see more of these multi billion dollar jackpots that the media love to play up.

bloomingeek

I call it passive taxation, because the state collects funds without any effort.

I don't get the winning thrill either, but several gambling addicts I used to work with described it as a feeling like none other. When I offered to go with them, as support to get help, they weren't interested in that feeling.

WillPostForFood

What if the government was the sole legal distributor of cigarettes, advertised them, and promised to fund schools with the revenue?

butlike

Gambling is the only vice which doesn't require external input. You can make a bet out of anything.

mmooss

> The lottery is a tax on people with poor judgement skills

Maybe it's just fun and exciting. Do people who bet in casinos or on sports have poor judgement skills or is it just exciting?

benlivengood

Who gets excited about negative expected value? Now, suppose the expected value of a $1 lottery ticket was about $0.97 so people could be indifferent between zero-interest savings accounts and lottery tickets, and maybe I could see that being exciting.

But clearly the gambling industries are predicated on quite a lot of volume going to negative expected value purchases which sounds depressing rather than exciting.

null

[deleted]

gblargg

I bought one ticket once ($1 or whatever). I reasoned that if the universe wanted to give me a win, I had to help it by purchasing a ticket. Apparently it didn't have that in mind so that's all I'll ever buy.

pingou

Presumably if the state is functioning well and redistributing wealth, it is the poor who benefit more of the state's increased revenue. Perhaps not in America.

AcerbicZero

I feel like this argument could have legs, but I can also see some easy counter points depending on how you proceed with it. Thank you regardless, as this made me think for a bit.

rs186

True, but it is also true that lottery money often goes back to cities and towns, so those people get a tiny little bit of benefit back for themselves.

TrackerFF

For what it is worth, plenty of people play the lottery for the entertainment value.

anonu

But it goes to education! So it's a virtuous cycle.

Carrok

[Offtopic] It drives me crazy that government sponsored lotteries are legal, but me playing a round of poker in the basement with a few friends is technically illegal. Nevermind sports betting apps being legal and poker apps not.

syntaxless

Playing poker with your friends is legal. If the owner of the house took a rake on every hand, that’s illegal.

eMPee584

At least here in Germany, half of sale proceedings of state-licensed lotteries go into social causes (our open source ecology germany e.v. managed to get several projects funded through this). Also, they are obliged to check each player against a black list of gambling addicts, which unlicensed online gambling venues probably don't give a toss about.

vuln

Yeah the US States claim that the money goes to Education yet somehow ends up in the general slush fund in most cases.

IX-103

It's not that the money from the lottery ends up in a slush fund, it's that the government cuts funding for education by the amount that it gets from the lottery. The money from the cuts gives the government the same amount of "clean" money to do whatever they want with.

afh1

Your car makers and economy sure are doing great.

withinboredom

Huh. Reminds me of my favorite idea to "hack" the lottery:

1. get access to a lottery ticket terminal

2. get access to a router firmware in the lottery datacenter en route to the database

3. wait for the query to get the winning numbers from the database

4. hold that packet and submit an INSERT into the database with you as the winning number at a predetermined date/time in the past

5. release the packet to query the database

6. hack the terminal to print your winning ticket with the predetermined date/time in the past

7. profit?

It probably doesn't work, but it was fun thinking about when I was younger.

jcrawfordor

Most lotteries, all of them that I'm familiar with, blackout ticket sales for several minutes around the draw to avoid order sensitivity issues like this. It's funny, lotto vending machines here don't say when the drawings are for each game, but you can tell by reading the fine print for the five minute window where tickets are not sold.

thaumasiotes

Step 6 of this process was to subvert the machine and print a backdated ticket. How does blacking out ticket sales for five minutes around the draw help against that?

gruez

>2. get access to a router firmware in the lottery datacenter en route to the database

Seems non-trivial given that the database server is likely to be in the same datacenter/rack/physical machine. If you have this much access you might as well plant a backdoor in the server and tamper with the database however you want.

>3. wait for the query to get the winning numbers from the database

Are lottery winners determined immediately after they close? I thought they did a number picking ceremony by picking out literal number balls from a tumbler?

bombcar

They usually stop sale an hour before the ball-picking, at least around here.

I assume that hour is for all the "picks" to be transmitted up to them for record keeping.

bentcorner

> submit an INSERT into the database with you as the winning number at a predetermined date/time in the past

If you have this capability then why not just insert all number combinations into the db well before draw time?

Makes me wonder how money flows from lottery terminals back to the lottery itself. I imagine there's some rigorous bookkeeping involved.

andy800

Because you'd also have to submit the money it would cost to buy every combination, and also, you likely couldn't fit every ticket (tens of millions of combinations) with a realistic-looking ticket generation time (approx 1-5 seconds between each ticket created). i.e. if 50,000,000 tickets all had the same timestamp (or were off by nanoseconds) it would be a dead giveaway.

andy800

Tldr- about 20 years ago, when off-track betting systems were less sophisticated, an insider past-posted horse racing jackpot winners by waiting until the first 4 races of the Pick-6 were final before creating the ticket. They got busted and served time in federal prison because they had multiple winning tickets for the Breeders Cup Pick-6, basically the Super Bowl of horse racing, where scrutiny was extremely high.

https://en.m.wikipedia.org/wiki/2002_Breeders%27_Cup_betting...

immibis

In the Ethereum blockchain, some people do exactly this - for more details, search "miner-extractable value".

I don't know whether it still applies after the transition to proof-of-stake.

tczMUFlmoNk

MEV still applies with proof-of-stake. Whoever proposes the blocks can make those arbs. It used to be the miners; now it's the block proposers as selected by the beacon chain.

(Some people call it "maximal extractable value" now, to keep the initialism and help it make more sense.)

WorkerBee28474

If you're into this, you may enjoy reading about Joan Ginther, a statistician and multiple lottery winner.

Her Wikipedia article is sadly short [0], but there are a number of other sadly short and poorly sourced articles around the web to augment it.

[0] https://en.wikipedia.org/wiki/Joan_R._Ginther

fsckboy

the term they meant is texas lottery "riskless arbitrage".

Buying a whole pizza, then standing in front of the pizza shop shelling the slices for a net profit is arbitrage. but it's risky because you might not be able to sell enough of them (before they get cold, say) to earn back your investment.

when you talk about an arbitrage that is guaranteed profit, that is a riskless arbitrage.

sincerely

Really? Doesn’t that describe every kind of store where you don’t create the product yourself as an arbitrage? You’re just buying items from a supplier and reselling to make a profit

felizuno

For sure. Buying wholesale and selling retail is one of the most common/accessible windows of arbitrage you can find.

_trampeltier

Kind of the same did happen in Switzerland this January.

https://www.tagesanzeiger.ch/loterie-romande-serial-players-...

tzs

I wonder if anyone is keeping a list of all the times this has happened?

I know that its not something new, because 30 years ago when I was in law school one of the cases studied in my class on transnational taxation was that of an Australian group (if I'm remembering the right country...) that tried to buy every possible ticket in a US lottery.

My recollection is that they only ended up getting something like 90% of the possible numbers but that was enough to get the top prizes and questions arose on how that should be taxed and whether the cost of the tickets was deductible.

tjalfi

You're thinking of Stefan Mandel's International Lotto Fund[0]. They tried to buy every ticket in the Virginia state lottery in 1992. They won the money, but IIRC there were years of litigation.

[0] http://investpost.org/mutual-funds/group-invests-5-million-t...

thaumasiotes

> questions arose on how that should be taxed and whether the cost of the tickets was deductible

What were the questions? What would the case be that cost of tickets shouldn't be deductible?

danielmarkbruce

There are a lot of arbs in the world. Same principle - they take a lot of work to get done. Physical commodities, real estate, etc