For most people, lottery playing is a bad idea. The odds of winning are slim—in fact, there is a higher chance of being struck by lightning or becoming a billionaire than there is of getting the winning numbers. Yet a lot of people play, often spending a significant share of their incomes on tickets. And,…