During a recent research project, I fell into an unexpected rabbit hole paved with Sudoku solvers, recursion, and strange math. What started as a small problem about musical groove turned into an interesting exploration of problem-solving itself, and eventually led me to develop a Max object that can shape rhythmic patterns using partitions. This is the story of how I got there, and why I find these kinds of problem-solving adventures so darn interesting.