9 5
5 9 2 8 3
9 5
5 9 2 8 3
2
The segment names look as follows:
Starting situation: {0 1 2 3 4 5 6 7 8 9}.
Consecutively applying the folds:
The segment names look as follows:
Starting situation: {0 1 2 3 4 5 6 7 8 9}.
Consecutively applying the folds:
--> {0 (1;9) (2;8) (3;7) (4;6) 5} --> {(1;9) (0;2;8) (3;7) (4;6) 5} --> {(0;2;8) (1;3;7;9) (4;6) 5} -->
{(0;2;8) (1;3;7;9) (4;6) 5} --> {(1;3;7;9) (0;2;4;6;8) 5}.