[Math] Ways to arrange 4 different colour balls with no two of the same colour next to each other

combinatoricspermutations

I have n green balls, n blue balls, m red balls, m yellow balls.

How many ways are there to arrange this such that we don't have an sequence with 2 of the same colour next to each other?

I don't know how to begin even formulating an answer. Any guidance would be appreciated.

Best Answer

Sure. Just alternate the two colors with $n$ each, then alternate the two with $m$ each.