permutations of 2000 volumes of encyclopedia with two rules
Source: Nordic Mathematical Contest 2015 #4
September 23, 2017
combinatorics
Problem Statement
An encyclopedia consists of numbered volumes. The volumes are stacked in order with number on top and in the bottom. One may perform two operations with the stack:
(i) For even, one may take the top volumes and put them in the bottom of the stack without changing the order.
(ii) For odd, one may take the top volumes, turn the order around and put them on top of the stack again.
How many different permutations of the volumes can be obtained by using these two operations repeatedly?