A lottery is a game in which numbers are drawn at random to determine winners. It’s also used to distribute a variety of goods and services, from apartments in subsidized housing to kindergarten placements at a public school. In the United States, state-run lotteries raise billions each year in addition to private games organized by…