Problem #27: The Demonstration

If we set out by ranks of 10, we will be one short. We will also be one short if we set out by ranks of 9, 8, 7, 6, 5, 4, 3, and even 2. Yet there are fewer than 5000 participants. How many are we?
[Top | Solution]