Maths Olympiad Prep

Library / Croatian Mathematical Competitions /72 of 114

Croatian Mathematical Competitions

Number theory Difficulty 5.7 AIME, harder Prove it Croatia

Prove that there are infinitely many positive integers nn such that nn has more than two distinct prime divisors and 2n−82^n - 8 is divisible by nn.

Solution

We will prove that for all positive integers of the form n=22p−1n = 2^{2p} - 1 (where p>3p > 3 is a prime number) n∣2n−8n \mid 2^n - 8 and nn has at least three distinct prime divisors.

Since 2n−8=8(2n−3−1)2^n - 8 = 8(2^{n-3} - 1), to prove n∣2n−8n \mid 2^n - 8 it is sufficient to prove
2p∣n−3. 2^p \mid n - 3.
Namely, in this case n−3=2pkn - 3 = 2pk for some positive integer kk, so
2n−3−1=22pk−1=(22p)k−1=(22p−1)(22p(k−1)+22p(k−2)+⋯+22p+1), 2^{n-3} - 1 = 2^{2pk} - 1 = (2^{2p})^k - 1 = (2^{2p} - 1)(2^{2p(k-1)} + 2^{2p(k-2)} + \dots + 2^{2p} + 1),
i.e. 22p−1=n∣2n−3−1⇒n∣2n−82^{2p} - 1 = n \mid 2^{n-3} - 1 \Rightarrow n \mid 2^n - 8.

By Fermat's little theorem we have 2p≡2(modp)2^p \equiv 2 \pmod p, so it follows that
n−3=22p−4=(2p)2−4≡22−4=0(modp). n - 3 = 2^{2p} - 4 = (2^p)^2 - 4 \equiv 2^2 - 4 = 0 \pmod p.
Obviously n−3n-3 is an even number and since 22 and pp are relatively prime we conclude that
n−3=22p−4≡0(mod2p). n - 3 = 2^{2p} - 4 \equiv 0 \pmod{2p}.

Now we will show that nn has at least three distinct prime divisors. Note that
n=22p−1=(2p−1)(2p+1). n = 2^{2p} - 1 = (2^p - 1)(2^p + 1).
Since 2p−12^p - 1 and 2p+12^p + 1 are two consecutive odd numbers they are relatively prime, so they don't have any common prime divisor. 2p−12^p - 1 has at least one prime divisor so it is sufficient to show that 2p+12^p + 1 has at least two distinct prime divisors. Since p>3p > 3 we can write p=3k+rp = 3k + r, where k≥1k \ge 1 and r∈{1,2}r \in \{1, 2\}.

Since pp is odd, we have:
2p+1≡(−1)p+1=−1+1=0(mod3) 2^p + 1 \equiv (-1)^p + 1 = -1 + 1 = 0 \pmod{3}
and
2p+1=(23)k⋅2r+1≡(−1)k2r+1≠0(mod9). 2^p + 1 = (2^3)^k \cdot 2^r + 1 \equiv (-1)^k 2^r + 1 \neq 0 \pmod{9}.
We have proved that 2p+12^p + 1 is divisible by 33, but it's not divisible by 99 which means that 2p+12^p + 1 can not be a power of 33, i.e. 2p+12^p + 1 has at least one prime divisor different from 33.

This proves the assertion of the problem.

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.