Graph theory
What puzzle about walks gave birth to graph theory?
In Königsberg, seven bridges connected two islands and the two riverbanks. Does a route exist that crosses each bridge exactly once? In 1736, Euler proves it does not. And his proof blithely ignores geography. Only connections matter. An entire discipline was born from there.