The following text suggests a double counting (or counting in two ways) argument which can be interpreted to give a proof of a combinatorial identity.

Pi day is coming up and we are selling t-shirts for math club to fundraise for our pi day event. The shirts we are selling come in small, medium, and large sizes. In each of the sizes, we have $n$ different colors for customers to choose from.

My history teacher says she will buy three shirts but only asked that we do not get two shirts of the same color

andsize. So she doesn't want two purple small shirts but a purple small and a purple medium is okay. There are many ways I could pick these three shirts.In particular, I could pick three shirts, all the same size, making sure not to pick two of the same color. On the other hand, I could pick two of one size and then one more from either of the two remaining sizes. The only other option I have is to pick exactly one of each size.

Which combinatorial identity corresponds to the proof idea given above?