Seven Bridges of Königsberg
en.wikipedia.org
en.wikipedia.org
https://www.google.com/maps/place/Knaypkhof,+Ulitsa+Kanta,+K...
It appears that the geometry has changed since Euler's time, or the diagram is incorrect. It appears that is the larger ( Lomse/ Oktyabrsky ) island that has the 4 bridges from the mainland rather than the smaller one (Kneiphof). Ironically; the topology appears preserved, so it doesn't actually matter, which underscores the point of Euler's achievement.
> After the war, the cathedral remained a burnt-out shell and Kneiphof was made into a park with no other buildings. Before the war, Kneiphof had many buildings. One of the buildings was the first Albertina University building, where Immanuel Kant taught, which was situated next to the east side of the cathedral.
https://en.wikipedia.org/wiki/K%C3%B6nigsberg_Cathedral
Picture of it prior to WW2 (featuring more bridges?): https://upload.wikimedia.org/wikipedia/commons/3/38/Modell_D...
The Castle didn't get that luck - https://en.wikipedia.org/wiki/K%C3%B6nigsberg_Castle. It got bulldozed, and the boondoggle of Soviet glory - the "skyscrapper" (21 story in Kaliningrad region in 198x was almost mindblowing, add to that that it is on the top of the Castle hill, so it looms large over the city) - is still unfinished and
(https://en.wikipedia.org/wiki/K%C3%B6nigsberg_Castle#Current... ) "Continuation of development was stopped in the 1980s as the massive building gradually sank into the structurally unsound soil stemming from the collapse of tunnels in the old castle's subterranean levels. Many people call this the "Revenge of the Prussians" or "The Monster"."
These underground tunnels (Kenigsberg and Prussia as whole has a lot of them) were back then and i'd guess even more today the scene of active exploration, in particular for hidden Nazi stolen treasures (e.g. "Amber room"), weapons/munitions/etc. and just out of sheer curiosity ( after all it is centuries of history starting from Teutonic Order). So you sometimes would find yourself facing a problem of "N tunnels in three dimensions" with some of them flooded/leading into unknown/etc.
---------------------
| | |
---------------------
| | | |
---------------------
I played with it off and on for years and suspected that it was impossible. I realized that it is in fact impossible when I took discrete mathematics in college and we covered the Seven Bridges.I've passed this on to my kids but only let them play with it for hours until revealing that it's not possible and getting into the theory of it.
I don't think my grandfather knows this is impossible, and I haven't yet remembered to tell him.
https://en.wikipedia.org/wiki/Five_room_puzzle
Your grandfather would likely enjoy discussing it with you!
A graph is usually defined as a set of nodes and a set of edges, where an edge is a pair of nodes (an ordered pair if it's a directed graph). The "set" of edges (bridges) of the "graph" in this case contains duplicates -- there are two edges with the same pair of vertices, two bridges crossing between the same pairs of landmasses. And the two pairs of duplicated bridges are essential to the problem setup. So AFAICT it can't be fully specified as a set of edges; it would have to be a multiset.
(I've seen this problem before but only just noticed this when reading Wikipedia now -- let me know if I'm missing something.)
One way around this to end up with a simple graph is to include a vertex in the middle of each bridge. Then each edge has one end in the landmass and the other end in the middle of the bridge. That equivalence/conversion shows that the distinction, in this case, is effectively unimportant.
Hamilton (who was also fond of crossing bridges [3]) developed some interesting algebraic structures to study the polyhedron problem [4]. I recently became interested in Eulerian and Hamiltonian paths after taking a class in Graph Representation Learning [5]. In it, I learned there are many interesting connections between algebra and graph theory [6] and started writing a library called Kaliningraph to study some of those connections [7].
[0]: http://eulerarchive.maa.org/docs/originals/E053.pdf
[1]: https://en.wikipedia.org/wiki/Eulerian_path#Hierholzer's_alg...
[2]: https://en.wikipedia.org/wiki/Hamiltonian_path
[3]: https://en.wikipedia.org/wiki/Broom_Bridge
[4]: http://www.kurims.kyoto-u.ac.jp/EMIS/classics/Hamilton/PRIAI...
[5]: https://cs.mcgill.ca/~wlh/comp766/
Then we could have a big discussion about funding strategies, metallurgical esoterica, cutting edge topological algorithms for determining best place to add a vertex in the graph, and/or history of Roman land jurisdiction. And we’d all learn something.
(the beaver solution would be a dam. "List of mathematical problems solvable by beavers")
Good times.