Number theoryDifficulty 8.1Prove itTeam Selection Test for IMO · North Macedonia
Let a and n be integers. We define an=1+a+a2+⋯+an−1. Prove that if ap≡1(modp) for every prime divisor p of n2−n1, then the number n2−n1an2−an1 is an integer.
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
Lemma. Let a and n be integers such that a≡1(modp) for each prime p∤n and an=1+a+a2+⋯+an−1. Then n∣an.
Proof of the lemma. Let pr be the largest power of the prime number p such that pr∣n. We will prove the equality 1+a+a2+⋯+an−1=(1+apr+a2pr+⋯+a(p−1)pr)k=1∏r(1+apk−1+a2pk−1+⋯+a(p−1)pk−1) for each integer a. If a=1 the left-hand side is n and the right-hand side is prnpr=n (one p for each term in the product). Let a=1. If we multiply the left-hand side and right-hand side by a−1 from the right we get (a−1)(1+a+⋯+ap−1)(1+ap+a2p+⋯+a(p−1)p)…(1+a2pr+⋯+apr)=(ap−1)(1+ap+a2p+⋯+a(p−1)p)…(1+a2pr+⋯+apr)=(ap2−1)(1+ap2+⋯+a(p−1)p2)…(1+apk−1+⋯+apk−1)=(apr−1)(1+apr+⋯+apr−1)=an−1 Each expression in the product is divisible by p since 1+apk−1+a2pk−1+⋯+a(p−1)pk−1=(apk−1−1)+(a2pk−1−1)+⋯+(a(p−1)pk−1−1)+p each of the expressions in brackets is divisible by p.
Without loss of generality we can assume that n1<n2. It is clear that n2−n1an2−an1=n2−n11+a+⋯+an2−1−1−a−⋯−an1−1=n2−n1an1(1+a+⋯+an2−n1−1) Using the lemma we get (n2−n1)∣an2−n1 from where we get that the number n2−n1an2−an1 is a natural number.
Source: MathNet,
licensed CC-BY-4.0.
Statement and solution reproduced as published; topic, difficulty and ordering added
by this site.