superpermutation Questions

6

Solved

How can I generate the shortest sequence with contains all possible permutations? Example: For length 2 the answer is 121, because this list contains 12 and 21, which are all possible permutations...
Bondsman asked 12/2, 2010 at 16:17

1

how to generate the following list from the following dictionary d = {2: 4, 3: 1, 5: 3} f = [ 2**1,2**2, 2**3, 2**4, 3**1, 5**1, 5**2, 5**3, 2**1 * 3, 2**2 * 3, 2**3 * 3, 2**4 * 3, 5**1 * 3, 5*...
Stipel asked 7/5, 2022 at 15:36
1

© 2022 - 2025 — McMap. All rights reserved.