Every since I read The Universe Speaks in Numbers[1] I've been fascinated by those scenarios where there's some hard problem in science, and it turns out that the math needed to solve it was invented years before, to solve some other problem. And the eventual solution to the current problem is merely the serendipitous discovery that this other math exists and applies.
[1]: https://www.amazon.com/Universe-Speaks-Numbers-Reveals-Natur...