Various branches of mathematics arose from purely theoretical studies, unlike the graph theory that arose from a
practical problem in the city of Königsberg (now Kaliningrad), a city built on both banks of the Pregel River and on
two islands located in the river. The islands are connected with each other and with the edges