this post was submitted on 30 Oct 2024
201 points (97.6% liked)

YUROP

1266 readers
15 users here now

A laid back community for good news, pictures and general discussions among people living in Europe.

Other European communities

Other casual communities:

Language communities

Cities

Countries

founded 11 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] verstra@programming.dev 7 points 1 month ago (1 children)

Why all the colors? You could have used only three different colors without any two colors touching...

[–] ninja@lemmy.world 13 points 1 month ago (1 children)

It's four, I think. Here's my stab at explaining this: in order to color it with only three colors any places with more than 2 neighbors who form a connected circle around the main region must have an even number of neighbors. There are a some places with odd numbers, ex: essen, rur ; london, london; dikirnis, misr as-suflaha all have 5 neighbors surrounding them. Because the neighbors also border each other they have to alternate colors around the main region. With an even number of neighbors they alternate fine; but with an odd number you'd end up with the first and last colored region being next to each other and matching - so you need 4 colors.