Maths Olympiad Prep

Track / Stage 7 / 75 of 300 #1475 of 1964

Problem 1475

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) p≤2np\le 2\sqrt{n};
3) There exists an integer kk such that p∣n+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.

Next problem →

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 k≥pk \geq p, we can replace kk with kmod  pk \mod p because p∣(n+k2)p \mid (n + k^2) implies p∣(n+(kmod  p)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 n−abn - ab.

3. **Choose a=ka = k and b=p−kb = p - k**:
Let a=ka = k and b=p−kb = p - k. Then, we have:
a+b=k+(p−k)=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=mp−k2 n = mp - k^2

4. **Determine cc**:
We need to find cc such that:
c=n−k(p−k)p c = \frac{n - k(p - k)}{p}
Substituting n=mp−k2n = mp - k^2 into the equation, we get:
c=mp−k2−k(p−k)p=mp−k2−kp+k2p=mp−kpp=m−k 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=m−kc = 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=p−kb = p - k
- c=m−kc = m - k

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

6. Check for contradictions:
- If a=ca = c, then k=m−kk = m - k, which implies 2k=m2k = m. This would mean 2k≤2n2k \leq 2\sqrt{n}, but since nn is square-free and even, this leads to a contradiction.
- If b=cb = c, then p−k=m−kp - k = m - k, which implies p=mp = m. This would mean p≤2np \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 reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.