Hi forum members
With some set constraints, I’d like to be able select a number between 1-5, combine it with a letter between a-e, find the maximum number of unique variations and generate a list.
The constraints are:
In a combination, the order of letters must be unique for every person 1-5.
Every new combination should be unique for every person.
Combination 1
Person 1: a, b, c, d, e
Person 2: b, a, d, e, c
Person 3: c, d, e, a, b
Person 4: d, e, b, c, a
Person 5: e, c, a, b, d
Combination 2
Person 1: a, b, c, e, d
Person 2: b, a, d, c, e
Person 3: c, d, e, b, a
Person 4: d, e, b, a, c
Person 5: e, c, a, d, b
Combination 3
Person 1: a, b, d, c, e
Person 2: b, a, c, e, d
Person 3: c, e, a, d, b
Person 4: d, c, e, b, a
Person 5: e, d, b, a, c
Combination 4
Person 1: a, b, d, e, c
Person 2: b, a, c, d, e
Person 3: c, e, a, b, d
Person 4: d, c, e, a, b
Person 5: e, d, b, c, a
etc…
Is this possible to make somehow?
I cross my fingers ![]()
Praveer

