Baltic Way 1997 · Problem 8
Number Theory
If we add 1996 and 1997, we first add the unit digits 6 and 7. Obtaining 13, we write down 3 and "carry" 1 to the next column. Thus we make a carry. Continuing, we see that we are to make three carries in total:
Does there exist a positive integer such that adding to no carry arises during the whole calculation?
When you’re ready
Review material becomes available with the next Daily.
Review
Topics
GCD and LCM · Divisibility and factorization
Solutions
Solution
Solution:
Answer: yes. The key to the proof is noting that if we add two positive integers and the result is an integer consisting only of digits then the process of addition must have gone without any carries. Therefore it is enough to prove that there exists an integer such that is of the form .
Consider the first positive integers consisting only of digits :
By the pigeonhole principle some two of these give the same remainder upon division by , so their difference
is divisible by . Since and are coprime we get an integer consisting only of digits and divisible by .
Contest context
Results from Baltic Way 1997
11 teams
- Mean score
- 3.4 / 5
- Scores of 4 or 5
- 7 / 11
- Estonia
- 5 / 5
Score distribution
All team scores
| Team | Score |
|---|---|
| Poland | 5 / 5 |
| Germany | 2 / 5 |
| Estonia | 5 / 5 |
| Sweden | 5 / 5 |
| Denmark | 5 / 5 |
| Latvia | 5 / 5 |
| Finland | 5 / 5 |
| Norway | 5 / 5 |
| St. Petersburg | 0 / 5 |
| Iceland | 0 / 5 |
| Lithuania | 0 / 5 |