Log In  

Cart #kisonecat_a5-0 | 2021-12-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Try to sort the scrambled numbers.

P#101252 2021-12-02 17:12

I'm not entirely convinced the puzzle can be solved, I got this far and no further, @kisonecat.

0 1 2 3 4 7 8 5 6

Can this be solved from here with the understanding the first digit is zero and the last is eight ?

P#101255 2021-12-02 17:46 ( Edited 2021-12-02 17:46)

Ah! For that, you'll need to rotate around the end by moving right and left so the "cursor" straddles both ends of the sequence.

The permutation is two swaps away (swap 6 and 8, swap 7 and 5), so it is in the alternating group A_9, and A_9 is generated by adjacent transpositions. So it will work -- but it isn't instantly obvious.

I am wondering if this sort of thing could form the core of a fun game. Here the basic swap is 1234 -> 2143, and you could build higher levels with other sorts of swaps.

P#101257 2021-12-02 18:24

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 21:02:20 | 0.019s | Q:18