Baltic Way 2025 · Problem 1
Algebra
Does there exist a sequence of integers such that for each integer there are exactly 2025 distinct pairs of indices for which ?
When you’re ready
Review material becomes available with the next Daily.
Review
Topics
Sequences and recurrences
Solutions
Solution
We will prove that there exists a sequence with the desired property.
Note first that if , then , so it is enough to prove that for each integer there exist exactly pairs such that .
We construct the sequence inductively; let be an arbitrary integer.
Suppose we have chosen such that for all there are at most pairs of indices with , and let be the least integer for which there are strictly fewer than pairs of indices with . Then let and such that
for all . This is clearly possible by taking large enough, and in doing so there is still no such that there are more than pairs for which .
By induction, we obtain a sequence with the property that for each there are at most pairs with . Since we choose the minimal in each step, it is clear, however, that there will be exactly such pairs for each . By the introductory remark, the constructed sequence satisfies the desired property.
Remark. There is an alternative solution relying on the fact that is a perfect square. In the inductive step of the construction, if we instead choose as simply the least positive integer not of the form , and proceed as above, we obtain a sequence where each appears exactly once as . Consider now the sequence
where each appears times. For any , we may now choose any of the copies of and any of the copies of for , giving a total of exactly pairs satisfying .
Contest context
Results from Baltic Way 2025
11 teams
- Mean score
- 1.9 / 5
- Scores of 4 or 5
- 2 / 11
- Estonia
- 0 / 5
Score distribution
All team scores
| Team | Score |
|---|---|
| Germany | 5 / 5 |
| Estonia | 0 / 5 |
| Poland | 0 / 5 |
| Lithuania | 3 / 5 |
| Norway | 0 / 5 |
| Latvia | 4 / 5 |
| Finland | 0 / 5 |
| Denmark | 3 / 5 |
| Sweden | 2 / 5 |
| Ukraine | 1 / 5 |
| Iceland | 3 / 5 |