How many different combinations of 3 letters which can be A, B, or C are there, if the ordering doesn't matter? The total number if the order does matter is 27=3*3*3. The number of groups where the order doesn't matter is 10. I wrote them out just to make sure: AAA, AAB, AAC, ....etc. I eliminated the repeated groups such as with ABB, BAB, BBA, etc. What is the formula to arrive at 10? I can't figure it out.