There’s a story in How to Solve It that’s basically the same.