4 ms·
The question is what's the shortest sequence that contains every permutation as a substring. If each episode after the 14th got you a new permutation, you would
by anonymoushn 3y ago
The question is what's the shortest sequence that contains every permutation as a substring. If each episode after the 14th got you a new permutation, you would need 13+14!, but that's not possible. For example with 3 episodes, you could begin 12312, then any episode you choose from that position does not contribute a permutation. I think the shortest sequence goes 123121321.