Cycling cards in a row
Source: Canada Repêchage 2018/8
April 9, 2018
probabilitycombinatorics
Problem Statement
Let and be positive integers with . A set of cards numbered to are arranged randomly in a row from left to right. A person alternates between performing the following moves:
[*] The leftmost card in the row is moved positions to the right while the cards in positions through are each moved one place to the left.
[*] The rightmost card in the row is moved positions to the left while the cards in positions through are each moved one place to the right.Determine the probability that after some number of moves the cards end up in order from to , left to right.