Maths Olympiad Prep

Library / Iranian Mathematical Olympiad /155 of 270

Iranian Mathematical Olympiad

Number theory Difficulty 6.7 National Olympiad Prove it Iran

a.
Prove that there doesn't exist a sequence of positive integers like a1,a2,a3,…a_1, a_2, a_3, \dots such that for all i,j∈Z+i, j \in \mathbb{Z}^+ with i<ji < j
gcd(ai+j,aj+i)=1. \text{gcd}(a_i + j, a_j + i) = 1.

b.
Assume that pp is an odd prime number. Prove that there exists a sequence of positive integers like a1,a2,a3,…a_1, a_2, a_3, \dots such that for all i,j∈Z+i, j \in \mathbb{Z}^+ with i<ji < j, gcd(ai+j,aj+i)\text{gcd}(a_i + j, a_j + i) is divisible by pp.

Solution

a.
If i,ai,ji, a_i, j and aja_j are all odd or are all even then gcd(ai+j,aj+i)\text{gcd}(a_i + j, a_j + i) will be an even number. So except for at most two values of ii, the parity of i,aii, a_i is different. So there exists some even numbers i,ji, j such that ai,aja_i, a_j are both odd which, again, we conclude that gcd(ai+j,aj+i)\text{gcd}(a_i + j, a_j + i) is an even number. Hence, is greater than 1. Thus no such sequence exists. □\square

b.
Consider the following sequence
an=pn−n+1. a_n = pn - n + 1.
If p∣an+m=pn−n+1+mp \mid a_n + m = pn - n + 1 + m and p∣am+n=pm−m+1+np \mid a_m + n = pm - m + 1 + n, for some m,n∈Z+m, n \in \mathbb{Z}^+ with subtracting these two relations we obtain
p∣n−m p \mid n - m
And if we add it two the first relation we'll have p∣pn+1p \mid pn + 1 which is a contradiction. Therefore the given sequence satisfies the desired conditions. □\square

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.