The casting of lots to decide fates and allocate prizes has a long record in human history, including several instances in the Bible. But the modern lottery—where people pay for tickets to have their numbers randomly spit out, with a cash prize awarded to anyone who correctly matches those numbers—is less ancient. It was first…