Maths Olympiad Prep

Track / Stage 7 / 73 of 300 #1473 of 1964

Problem 1473

National olympiad second round; IMO P1/P4
Number theory Difficulty 7.1 Prove it

Consider a square-free even integer nn and a prime pp, such that
1) (n,p)=1(n,p)=1;
2) p2np\le 2\sqrt{n};
3) There exists an integer kk such that pn+k2p|n+k^2.
Prove that there exists pairwise distinct positive integers a,b,ca,b,c such that n=ab+bc+can=ab+bc+ca.

Proposed by Hongbing Yu

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Official solution

To prove that there exist pairwise distinct positive integers a,b,ca, b, c such that n=ab+bc+can = ab + bc + ca, we will use the given conditions and construct such integers.

1. **Assume k<pk < p**:
Since pp is a prime and kk is an integer such that p(n+k2)p \mid (n + k^2), we can assume without loss of generality that k<pk < p. If kpk \geq p, we can replace kk with kmodpk \mod p because p(n+k2)p \mid (n + k^2) implies p(n+(kmodp)2)p \mid (n + (k \mod p)^2).

2. **Rewrite nn in the desired form**:
We need to express nn as n=ab+bc+can = ab + bc + ca. This can be rewritten as:
n=c(a+b)+ab n = c(a + b) + ab
This implies that a+ba + b must divide nabn - ab.

3. **Choose a=ka = k and b=pkb = p - k**:
Let a=ka = k and b=pkb = p - k. Then, we have:
a+b=k+(pk)=p a + b = k + (p - k) = p
Since p(n+k2)p \mid (n + k^2), we can write:
n+k2=mpfor some integer m n + k^2 = mp \quad \text{for some integer } m
Therefore:
n=mpk2 n = mp - k^2

4. **Determine cc**:
We need to find cc such that:
c=nk(pk)p c = \frac{n - k(p - k)}{p}
Substituting n=mpk2n = mp - k^2 into the equation, we get:
c=mpk2k(pk)p=mpk2kp+k2p=mpkpp=mk c = \frac{mp - k^2 - k(p - k)}{p} = \frac{mp - k^2 - kp + k^2}{p} = \frac{mp - kp}{p} = m - k
Thus, c=mkc = m - k.

5. Verify distinctness and positivity:
We need to ensure that aa, bb, and cc are distinct and positive integers.
- a=ka = k
- b=pkb = p - k
- c=mkc = m - k

Since k<pk < p, aa and bb are distinct. Also, since p2np \leq 2\sqrt{n}, mm is an integer such that m1m \geq 1. Therefore, c=mkc = m - k is positive if m>km > k.

6. Check for contradictions:
- If a=ca = c, then k=mkk = m - k, which implies 2k=m2k = m. This would mean 2k2n2k \leq 2\sqrt{n}, but since nn is square-free and even, this leads to a contradiction.
- If b=cb = c, then pk=mkp - k = m - k, which implies p=mp = m. This would mean p2np \leq 2\sqrt{n}, but since nn is square-free and even, this also leads to a contradiction.

Therefore, the given construction works, and we have found pairwise distinct positive integers a,b,ca, b, c such that n=ab+bc+can = ab + bc + ca.

\blacksquare

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.