A deck of cards numbered 1 through n is randomly shuffled. Repeat the following process:
Take the top card, call the number on that card k. Reverse the order of the first k cards. Prove that this process will eventually stop with 1 at the top of the deck.
2007-03-17
19:38:32
·
3 answers
·
asked by
Tony Z
2
in
Science & Mathematics
➔ Mathematics
You're not actually throwing the cards out, so how do you know it will actually get to 1 rather than cycling?
2007-03-17
19:49:43 ·
update #1
The process stops when you hit 1. The question is why do you eventually hit 1 given any initial permutation?
2007-03-17
19:50:31 ·
update #2