There are 2 black balls, one red ball and one green ball. How many different linear arrangements can be generated by these balls ?
As per my understanding, the answer should be 4! * 3! (4 factorial because there are four spots that need to filled and 3 factorial because there are three distinct colors ). Is my approach correct ? or am i wrong ?
There are $\binom 42=6$ ways to choose positions for the two black balls.
For each of these choices, there are 2 ways to place the other two balls.
The total number of arrangements is $$N = 2\binom 42 =12$$