How many ways to paint a flag of
using four colors are if two squares with a common side cannot be of the same 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.
First column can be painted of 4 × 3 = 1 2 ways. Then exist two cases for paint the second column:
1 ) diagonal's squares are of the same color ⇒ 3 ways
2 ) diagonal's squares are of different color ⇒ 4 ways
This apply for the next two columns ∴ are 1 2 × 7 3 = 4 1 1 6 ways of paint it