因为同色车无顺序,所以应该先排列red car,然后在其4个间隙中放blue car and yellow car,,但要分为两种情况:
1)yellow car & blue car 不相邻,则有P4,2=12;
2)yellow car & bule car 相邻,则有P2,2×C4,1=8
所以,共有12+8=20
Yes, I agree. My answer is P(2,5)=20. My thought is that I don't care the three red. I just need to put that 1 yeallow and 1 blue in those 5 slots and the rest belongs to red cars. So it's P(2,5).