Find the number to color a 3 by 3 grid using 6 distinct colors, such that at least one cell of each row is colored. A coloring is considered different if it contains different color in at least one cell. You must use all 6 colors, no color can be used more than once.
Here are some possible valid colorings(all of these are different ways):
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 let's select cells to color. This can be done in 9C6-3 ways (there are three cases where a row is empty). Now arrange colors in these 6 cells in 6! way. So answer is (9C6-3)*6! = 58320