Americans spend billions each year on lottery tickets. It is an addiction that contributes to credit card debt and deprives many households of an emergency fund. The odds of winning are extremely low, but the lottery doesn’t discriminate based on race, religion, ethnicity, political affiliation or current income. The game is played by blacks, whites, Mexicans and Chinese people alike. Even George Washington participated in a lottery to raise money for his mountain road project.

In fact, people buy lottery tickets for the entertainment value, despite their minuscule expected value. It is similar to how a sports team may foul in the final minutes of a close game, or how a politician will resort to attack ads late in a campaign. These ploys diminish the expected utility of a monetary loss, but they can overcome an individual’s inability to resist temptation when it is presented with the opportunity for instant gratification.

A core element of all lotteries is a pool or collection of tickets and their counterfoils from which the winners are chosen. The tickets must be thoroughly mixed by some mechanical means, such as shaking or tossing, and then a winner is selected by some random procedure. Computers have become commonplace in this process, allowing the drawing to be conducted quickly and with greater accuracy. Some state governments control the pool of tickets, but others allow private businesses to offer games and sell tickets for their own profits.