International Mathematics Competition
for University Students
2026

Select Year:


IMC 2026
Information
  Schedule
  Problems & Solutions
  Results
  Contact
 

IMC2026: Day 1, Problem 3

Problem 3. Consider a deck of \(\displaystyle n\geq 2\) cards labeled \(\displaystyle 1,2,\ldots,n\). An alternating shuffle of the deck is performed as follows. We split the deck into two non-empty stacks. We then sort the first stack in increasing order, and the second stack in decreasing order. Finally, we alternately take cards from the first and second stacks (starting with the first). If one of the stacks runs out, the remaining cards from the other stack are placed at the end. How many different final orders of the deck can be obtained in this way?
[0.5cm] Example: Suppose \(\displaystyle n=6\), the first stack is \(\displaystyle A=(1,\,3)\), and the second stack is \(\displaystyle B=(6,\,5,\,4,\,2)\). Then the order resulting from the alternating shuffle is \(\displaystyle (1,\,6,\,3,\,5,\,4,\,2)\).

Daniel Volostnov, Neapolis University Paphos, Cyprus

    


© IMC