# Multi-colored polyominoes inside a 7x7 grid

Can you place four red trominoes, four green tetrominoes and four blue pentominoes inside an 7x7 grid, such that:

• No two polyominoes overlap
• No two polyominoes of the same color touch each other orthogonally (horizontally or vertically)

I think this would work as a possibility

• oooh very nice and pretty! Amazingly that only took you 7 minutes. Jun 17, 2022 at 13:07
• @DmitryKamenetsky I suppose that once you decide to solve it rot13(hfvat flzzrgel, naq ynl qbja ornzf sebz gur prager fdhner gb gur rqtrf, gura gur erfg orpbzrf snveyl rnfl fvapr gur erznvavat pbearef pna or svyyrq va nyzbfg serryl). You could make it harder by adding the condition that red and green cannot touch, and I think that has only one solution. Jun 17, 2022 at 13:27
• @JaapScherphuis please post that solution Jun 17, 2022 at 14:03

Here is a solution in which the red and green do not touch.

An obvious upper bound for the maximum number of distinct shapes is $$2+4+4=10$$, and...

...this solution attains that upper bound:

• What do you mean by 2+4+4? Jun 19, 2022 at 11:49
• Ah, you mean the shapes, ok I got it now. Jun 19, 2022 at 12:02