Maths Olympiad Prep

Library / /174 of 299

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,jZ+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,jZ+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=pnn+1. a_n = pn - n + 1.
If pan+m=pnn+1+mp \mid a_n + m = pn - n + 1 + m and pam+n=pmm+1+np \mid a_m + n = pm - m + 1 + n, for some m,nZ+m, n \in \mathbb{Z}^+ with subtracting these two relations we obtain
pnm p \mid n - m
And if we add it two the first relation we'll have ppn+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,000 problems in a working order, from AMC 10 level to the IMO shortlist.

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