Maths Olympiad Prep

Library / Saudi Arabian Mathematical Competitions /44 of 395

Saudi Arabian Mathematical Competitions

Number theory Difficulty 4.8 AIME Prove it Saudi Arabia

Prove that there are infinitely many positive integers nn such that nn divides 20172017n−1−12017^{2017^{n}-1}-1 but nn does not divide 2017n−12017^{n}-1.

Solution

We will prove that if a>1a>1 is a positive integer such that a−1a-1 is not a power of 22, then there are infinitely many positive integers nn such that nn divides aan−1−1a^{a^{n}-1}-1 but nn does not divide an−1a^{n}-1. Therefore, the given problem follows directly as an application with a=2017a=2017.

In fact, there is an odd prime divisor pp of a−1a-1. Put s=vp(a−1)≥1s=v_{p}(a-1) \geq 1, for any positive integer kk, by LTE we have vp(apk−1)=vp(a−1)+kv_{p}\left(a^{p^{k}}-1\right)=v_{p}(a-1)+k, this means that n=apk−1ps+1n=\frac{a^{p^{k}}-1}{p^{s+1}} is a positive integer. By LTE again,
vp(an−1)=vp(a−1)+vp(n)=s+vp(a−1)+k−(s+1)=s+k−1≥k. v_{p}\left(a^{n}-1\right)=v_{p}(a-1)+v_{p}(n)=s+v_{p}(a-1)+k-(s+1)=s+k-1 \geq k.
Thus, pk∣an−1p^{k} \mid a^{n}-1, we get n∣apk−1∣aan−1−1n\mid a^{p^{k}}-1 \mid a^{a^{n}-1}-1. It remains to show that n∤an−1n \nmid a^{n}-1. By above, we can write an−1=ps+k−1Aa^{n}-1=p^{s+k-1} A and n=pk−1Bn=p^{k-1} B for some positive integers A,BA, B coprime to pp. This gives
(n,an−1)=(pk−1A,pk−1B)=1ps(ps+k−1A,ps+k−1B)=1ps(apk−1p,an−1) \left(n, a^{n}-1\right)=\left(p^{k-1} A, p^{k-1} B\right)=\frac{1}{p^{s}}\left(p^{s+k-1} A, p^{s+k-1} B\right)=\frac{1}{p^{s}}\left(\frac{a^{p^{k}}-1}{p}, a^{n}-1\right)
which is clearly a divisor of
1ps(apk−1,an−1)=1ps(a(pk,n)−1)=1ps(apk−1−1)<apk−1ps+1=n. \frac{1}{p^{s}}\left(a^{p^{k}}-1, a^{n}-1\right)=\frac{1}{p^{s}}\left(a^{\left(p^{k}, n\right)}-1\right)=\frac{1}{p^{s}}\left(a^{p^{k-1}}-1\right)<\frac{a^{p^{k}}-1}{p^{s+1}}=n.
This shows that nn cannot divide an−1a^{n}-1. The proof is done. □\square

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.