I cannot wrap my head around this problem to even begin solving it. If I use improper notation, help on that is appreciated as well.
I have a lot of sequences, all of which are of length N, whose elements/items are taken from a set of length S, with repetition.
For example, N = 4, and set {1,2,3} so S = 3
Example of my sequences:
Sequence 1: [1,2,3,1]
Sequence 2: [3,2,1,3]
Sequence 3: [1,1,2,3]
Sequence 4: [2,2,1,1]
The machine's:
Ok, but the hard part is that I have a machine with arms equal to the set length, so 3 in this case. Let's say they are arm A,B,C.
Each arm is loaded with an infinite number of items from the set S.
__Some examples of "loadouts" of the machine: __
Loadout 1: A:1, B:2, C:3 (simple example)
Loadout 2: A:2, B:1,C:3 (order can change)
Loadout 3: A:2, B:2, C:3 (we can repeat if it helps reduce the number of programs I need)
The machine's "programs":
I have programs that I program the machine with that maps each arm to a positions, (p1,p2,p3,p4) in the sequence
Program 1: [A: p1,p4], [B: p2], [C: p3]
note that program 1 could be used both for Sequence 1 AND Sequence 2 above by loading the arms differently.
