MathDB
ASU 323 All Soviet Union MO 1981 piles with cards of no 100 to 999

Source:

July 23, 2019
combinatorics

Problem Statement

The natural numbers from 100100 to 999999 are written on separate cards. They are gathered in one pile with their numbers down in arbitrary order. Let us open them in sequence and divide into 1010 piles according to the least significant digit. The first pile will contain cards with 00 at the end, ... , the tenth -- with 99. Then we shall gather 1010 piles in one pile, the first -- down, then the second, ... and the tenth -- up. Let us repeat the procedure twice more, but the next time we shall divide cards according to the second digit, and the last time -- to the most significant one. What will be the order of the cards in the obtained pile?