How many ways are there to fill up the rest of the square grid with purple, pink, blue and yellow squares, such that each row and each column contains at most 1 square of each color?
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.
Graph theory, choosing colors so that no edge shares same color from both squares. And:4