Baltic Way 2017 · Problem 18
Number Theory
Let be a prime and let be a permutation of . For which is it always possible to determine the sequence if for all with the residue of modulo is known?
When you’re ready
Review material becomes available with the next Daily.
Review
Topics
Primes · Modular arithmetic
Solutions
Solution
Answer: For all primes .
When it is clear that it is not possible to determine and from the residue of modulo 5 .
Assume that . Now . For all it is possible to choose such that and are different. Thus we know
The equation has exactly one solution in , and hence it is possible to determine for all .
Contest context
Results from Baltic Way 2017
11 teams
- Mean score
- 2.8 / 5
- Scores of 4 or 5
- 5 / 11
- Estonia
- 4 / 5
Score distribution
03
10
21
32
42
53
All team scores
| Team | Score |
|---|---|
| St. Petersburg | 5 / 5 |
| Germany | 5 / 5 |
| Poland | 5 / 5 |
| Denmark | 3 / 5 |
| Estonia | 4 / 5 |
| Lithuania | 4 / 5 |
| Sweden | 0 / 5 |
| Norway | 3 / 5 |
| Finland | 2 / 5 |
| Iceland | 0 / 5 |
| Latvia | 0 / 5 |