A generic combination = {A,B,C,D,E}, where each capital letter takes on one of the values from its set.

A = {a1,a2,a3}

B = {b1,b2}

C = {c1,c2,c3}

D = {d1,d2,d3}

E = {e1,e2,e3,e4}

An example of a possible combination would be combination(x) = {a1,b2,c2,d1,e4}.

How many combinations are there? How can I generate a list with all of the combinations? Or, best, can you generate the list and attach it?

I took my real-world problem and abstracted it to its fundamentals hoping that it would make it possible for one of you to solve the underlying logic.

Any help very much appreciated. I didn't take any courses in this type of math and unfortunately I don't have anyone I can run this by for help. Thanks!