Example 3. All possible permutations of the interval series [6, 1, 3]