Maths Olympiad Prep

Library / Taiwan IMO Selection Camp /19 of 359

Taiwan IMO Selection Camp

Number theory Difficulty 4.6 AIME Prove it Taiwan

Let nn be a positive integer greater than 1 and pp be a prime such that nn divides p−1p-1 and pp divides n3−1n^3-1.
Prove that 4p−34p-3 is a perfect square.

Solution

Since n∣(p−1)n|(p-1), n<pn < p. Since p∣(n3−1)=(n−1)(n2+n+1)p|(n^3-1) = (n-1)(n^2+n+1), p∣(n2+n+1)p|(n^2+n+1).
Let p−1=nℓp-1 = n\ell. Also
n2+n+1=n2+n+p−nℓ=n(n+1−ℓ)+p n^2 + n + 1 = n^2 + n + p - n\ell = n(n + 1 - \ell) + p
so we obtain p∣n(n+1−ℓ)p|n(n+1-\ell). Since n<pn < p, p∣(n+1−ℓ)p|(n+1-\ell). Also since ℓ>0\ell > 0, n+1−ℓ≤nn+1-\ell \le n. Now
p∣(n+1−ℓ)p|(n+1-\ell) and n<pn < p, so we get ℓ≥n+1\ell \ge n+1. If ℓ>n+1\ell > n+1, then p=1+nℓ>1+n+n2p = 1+n\ell > 1+n+n^2
which is impossible! since p∣(n2+n+1)p|(n^2+n+1). So ℓ=n+1\ell = n+1 and p=n2+n+1p = n^2 + n + 1. Therefore
4p−3=4(n2+n+1)−3=(2n+1)2. 4p-3 = 4(n^2 + n + 1) - 3 = (2n + 1)^2.

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 translated into English from zh; metadata (topic, difficulty) added by this project.