Identifying this kind of combinatoric permutation

61 Views Asked by At

I feel kind of silly asking this, but I am having a hard time identifying what this exactly called. I'm specifically trying to find the wiki page on it and could not find it on this list of permutation topics wiki page.

What type of combinatorics (or permutations?) is this?

We have multiple sets:

(1, 2)
(a, b, c)
(foo, bar)

With these sets, we are to generate the following combinations:

(1, a, foo)
(1, a, bar)
(1, b, foo)
(1, b, bar)
(1, c, foo)
(1, c, bar)

(2, a, foo)
(2, a, bar)
(2, b, foo)
(2, b, bar)
(2, c, foo)
(2, c, bar)

Note the total number of combinations is just the number of elements in each set multiplied together (2x3x2).

A link to a wiki article would be ideal.

1

There are 1 best solutions below

1
On BEST ANSWER

The correct answer was a Cartesian product of sets.

Special thanks to user hardmath, for providing the answer in the comments.