During AMC testing, the AoPS Wiki is in read-only mode and no edits can be made.

2020 Mock Combo AMC 10 II Problems/Problem 7

To begin, since we know that aa, bb, cc are indistinguishable, then we can just use complementary counting.

Since they are indistinguishable, then one of the way to arrange them so that no two adjacent letters are identical would be ABCABC, which there are 3!*3!