Maths Olympiad Prep

Library / Singapore Mathematical Olympiad (SMO) /12 of 52

Singapore Mathematical Olympiad (SMO)

Number theory Difficulty 5.1 AIME, harder Prove it Singapore

Suppose pp is a prime number and x,y,zx, y, z are integers satisfying 0<x<y<z<p0 < x < y < z < p. If x3,y3,z3x^3, y^3, z^3 have equal remainders when divided by pp, prove that x2+y2+z2x^2 + y^2 + z^2 is divisible by x+y+zx + y + z.

Solution

Note that p>3p > 3 and p∣x3−y3=(x−y)(x2+xy+y2)p \mid x^3 - y^3 = (x-y)(x^2 + xy + y^2). Since x,y<px, y < p, p∤x−yp \nmid x-y. Therefore p∣x2+xy+y2p \mid x^2 + xy + y^2. Similarly p∣x2+xz+z2p \mid x^2 + xz + z^2, p∣y2+yz+z2p \mid y^2 + yz + z^2.

Thus p∣(x2+xy+y2)−(y2+yz+z2)=(x−z)(x+y+z)p \mid (x^2 + xy + y^2) - (y^2 + yz + z^2) = (x-z)(x+y+z) and so p∣x+y+zp \mid x+y+z.

Since x,y,z<px, y, z < p and pp is a prime, x+y+z=px+y+z = p or 2p2p.

Since the parity of x+y+zx+y+z and x2+y2+z2x^2+y^2+z^2 are the same, it suffices to prove that p∣x2+y2+z2p \mid x^2+y^2+z^2.

Now p∣x2+xy+y2=x(x+y+z)+y2−xzp \mid x^2 + xy + y^2 = x(x+y+z) + y^2 - xz and so p∣y2−xzp \mid y^2 - xz. Therefore p∣(x2+xy+y2)+(y2−xz)=x2+y2+z2p \mid (x^2 + xy + y^2) + (y^2 - xz) = x^2 + y^2 + z^2 and we are done.

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.