When I have a problem, and it’s proving difficult to solve, I’ll often go on a walk about it, go talk to a friend about it, go try to solve it again. But when it’s proving intransigent, I’ll go write an essay proving why it just cannot be solved. That almost always fixes it.