Thanks! I first came across Alcuin’s Propositiones ad Acuendos Juvenes – essentially math puzzles, then looked up more from there.