In the above diagram, you must connect every colored box with every other colored box that has the same color. You do this by drawing a (not necessarily straight) line connecting the two boxes.
What is the minimum number of line intersections over all possible ways to connect the boxes?
Details and Assumptions
The connecting lines must not go out of the square board.
There cannot be three or more connecting lines concurrent at one point.
Here is one example of a way to connect the boxes with 12 intersections.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Imgur
A solution with 0 intersections. (Boy, did that take a long time to figure out and draw!)