Maths Olympiad Prep

Library / Berkeley Math Circle: Monthly Contest 6 /6 of 13

Berkeley Math Circle: Monthly Contest 6

Number theory Difficulty 4.8 AIME Prove it United States

Problem:
Find the smallest prime p>100p > 100 for which there exists an integer a>1a > 1 such that pp divides a89−1a−1\frac{a^{89} - 1}{a - 1}.

Solution

Solution:
The answer is p=179p = 179. To see this works, take a=4a = 4; by Fermat's little theorem, 489−1=2178−14^{89} - 1 = 2^{178} - 1 is divisible by 179179.

Now suppose a89≡1(modp)a^{89} \equiv 1 \pmod{p}. We consider two cases:
- If a≡1(modp)a \equiv 1 \pmod{p}, then
0≡1+a+⋯+a88≡89(modp) 0 \equiv 1 + a + \cdots + a^{88} \equiv 89 \pmod{p}
which forces p=89p = 89.
- Otherwise, since 8989 is prime, it follows aa has order 8989 modulo pp. So 89∣p−189 \mid p - 1. The smallest prime which obeys this is p=179p = 179.

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.