Olympiad Maths Prep

Track / Stage 7 / 161 of 300 #1561 of 2000

Problem 1561

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

Let for natural numbers a,b,ca,b,c and any natural nn we have that
(abc)n(abc)^n divides ((an1)(bn1)(cn1)+1)3 ((a^n-1)(b^n-1)(c^n-1)+1)^3. Prove that then a=b=ca=b=c.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

1. **Prove that a,b,ca, b, c contain the same set of prime factors.**

Assume, without loss of generality, that pp is a prime factor of aa but not of bb. Then pap \mid a and pbp \nmid b.

Since pap \mid a, we have pap11p \mid a^{p-1} - 1 by Fermat's Little Theorem. Therefore, p(ap11)(bp11)(cp11)p \mid (a^{p-1} - 1)(b^{p-1} - 1)(c^{p-1} - 1).

However, since pbp \nmid b, pbp11p \nmid b^{p-1} - 1. Thus, p(ap11)(bp11)(cp11)+1p \nmid (a^{p-1} - 1)(b^{p-1} - 1)(c^{p-1} - 1) + 1.

This implies p((ap11)(bp11)(cp11)+1)3p \nmid ((a^{p-1} - 1)(b^{p-1} - 1)(c^{p-1} - 1) + 1)^3, but p(abc)p1p \mid (abc)^{p-1}, which is a contradiction. Hence, a,b,ca, b, c must contain the same set of prime factors.

2. **Prove that the exponent of each prime in a,b,ca, b, c is the same.**

Let x,y,zx, y, z be the maximum exponents of a prime pp in a,b,ca, b, c respectively. Assume without loss of generality that xyzx \leq y \leq z.

Consider the expression (ab+bc+caabc)3(ab + bc + ca - a - b - c)^3. Since abc((a1)(b1)(c1)+1)3abc \mid ((a-1)(b-1)(c-1) + 1)^3, we have abc(ab+bc+caabc)3abc \mid (ab + bc + ca - a - b - c)^3.

- Case 1: yy and zz are strictly greater than xx.

In this case, px(ab+bc+caabc)p^x \mid (ab + bc + ca - a - b - c) and p3x(ab+bc+caabc)3p^{3x} \mid (ab + bc + ca - a - b - c)^3. However, px+y+zabcp^{x+y+z} \mid abc and since x+y+z>3xx + y + z > 3x, this is a contradiction.

- Case 2: One of yy and zz is equal to xx.

Without loss of generality, assume y=xy = x. We need to prove that z=x=yz = x = y.

If pb+cpxp \nmid \frac{b+c}{p^x}, then proceeding as in Case 1 gives the desired result.

If pb+cpxp \mid \frac{b+c}{p^x}, then (abc)2((a21)(b21)(c21)+1)3(abc)^2 \mid ((a^2-1)(b^2-1)(c^2-1) + 1)^3. This implies (abc)2(a2b2+b2c2+c2a2a2b2c2)3(abc)^2 \mid (a^2b^2 + b^2c^2 + c^2a^2 - a^2 - b^2 - c^2)^3.

If pb2+c2p2xp \nmid \frac{b^2+c^2}{p^{2x}}, we have the desired result. Otherwise, pb2+c2p2xp \mid \frac{b^2+c^2}{p^{2x}}.

This implies p(b+c)2p2xb2+c2p2xp2bcp2xp \mid \frac{(b+c)^2}{p^{2x}} - \frac{b^2+c^2}{p^{2x}} \Rightarrow p \mid \frac{2bc}{p^{2x}}, which is impossible for a prime pp not equal to 2. Hence, we conclude that all primes except 2 occur in the same exponents.

3. **Handle the case when p=2p = 2.**

Case 1 yields that 2 also occurs in the same exponents in two of a,b,ca, b, c, say aa and bb. Hence, we should have a=ba = b and c=2rac = 2^r \cdot a.

Plugging this into the original equation gives:
2rna3n(22rna2n+a2n2rnan2an)3 2^{rn}a^{3n} \mid (2 \cdot 2^{rn}a^{2n} + a^{2n} - 2^{rn}a^n - 2a^n)^3
2rna3na3n(22rnan+an2rn2)3 2^{rn}a^{3n} \mid a^{3n}(2 \cdot 2^{rn}a^n + a^n - 2^{rn} - 2)^3
2rn(22rnan+an2rn2)3 2^{rn} \mid (2 \cdot 2^{rn}a^n + a^n - 2^{rn} - 2)^3

Since 2a2 \mid a, we can choose a sufficiently large nn such that (22rnan+an2rn2)3(2 \cdot 2^{rn}a^n + a^n - 2^{rn} - 2)^3 is fully divisible by 232^3, which is a contradiction since we have 2rn232^{rn} \mid 2^3, implying r=0r = 0.

Therefore, a=b=ca = b = c.

\blacksquare

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