The simple math that helped mathematicians solve a vexing problem in the kids’ card game “Set”