I have thought through tough problems using pen and paper. Have tried a lot of iterations of digital notebooks, but lost the fluidity and malleability of paper.
These days I have found the iPad + Pencil with an infinite canvas to be the best fit. I use Ahmni (https://www.ahmni.app/) which is a delight.