Hello,

This is a permutation or combinatorics problem which I really don't know if falls under pre-university math.

I have a pool of base shapes (circle, square, etc.) [9]

I have a pool of base colors (red, blue, etc.) [7]

I would like to combine them in such a way that each shape gets 1 color (red) or a combination of two (red/blue == blue/red)

I would like the result count of these combinations.

Writing it out with smaller numbers produced the formula with these numbers as 9 * (7 + 6 + 5 + 4 + 3 + 2 + 1) = 252.

Am I doing it right?