Peter Shor’s critical insight in the quantum-factoring algorithm had something to do with the circularity of something to do with factors (I don’t know the details).
See here (and linked pages).
See here (and linked pages).