An automatic card shuffles always shuffles the cards in the same way. A set of twelve cards bearing the letters GOLDENBINARY was placed into the machine. After being shuffled once, the cards were placed into the machine a second time. After that, the cards read ANINOYGREDBL. What did the cards read after it was placed in the machine the first time? Type a=01, b=02 and so on, so if your answer is GZJ, type it in as 072610.
Sources: Brandreth, Gyles (1981) -The Puzzle Mountain, Level 95 (A. Ross Eckler's Cryptology), Page 186 Puzzle Number One
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Using the information provided, we can almost find σ 2 exactly, where σ is the positional permutation function from [ 1 , 1 2 ] → [ 1 , 1 2 ] . The catch is the two 'N's:
σ 2 ( 1 ) = 7 , σ 2 ( 2 ) = 5 , σ 2 ( 3 ) = 1 2 , σ 2 ( 4 ) = 1 0
σ 2 ( 5 ) = 9 , σ 2 ( 6 ) ∈ { 2 , 4 } , σ 2 ( 7 ) = 1 1 , σ 2 ( 8 ) = 3
σ 2 ( 9 ) ∈ { 2 , 4 } , σ 2 ( 1 0 ) = 1 , σ 2 ( 1 1 ) = 8 , σ 2 ( 1 2 ) = 6
If we postulate that σ 2 ( 6 ) = 2 , we get the chain, for σ 2 :
1 → 7 → 1 1 → 8 → 3 → 1 2 → 6 → 2 → 5 → 9 → 4 → 1 0 → 1
However, this implies that σ consists of a single cycle, yet somehow σ 1 2 ( 1 ) = 1 , which is impossible. So σ 2 ( 6 ) must be 4 instead.
This lets us decompose σ into two odd-length cycles:
σ = ( 1 , 1 2 , 7 , 6 , 1 1 , 4 , 8 , 1 0 , 3 ) ( 2 , 9 , 5 )
And applying the permutation to the input string GOLDENBINARY yields the intermediate string LEARNBYDOING , which can be represented in the desired format as 1 2 0 5 0 1 1 8 1 4 0 2 2 5 0 4 1 5 0 9 1 4 0 7 .