Maths Olympiad Prep

Library / ShortlistBMO /1 of 9

ShortlistBMO, 2011

Number theory Difficulty 7.7 National Olympiad, round 2 Prove it Balkan Mathematical Olympiad

Let nn be a positive integer number such that p=172n+4p = 17^{2n} + 4 is prime. Show that 7(p−1)/2+17^{(p-1)/2} + 1 is divisible by pp.

Solution

Write p=172n+4≡4n+4(mod5)p = 17^{2n} + 4 \equiv 4^n + 4 \pmod 5 to deduce that p≡0(mod5)p \equiv 0 \pmod 5 if nn is even. Since pp is prime, nn must be 00, so p=5p = 5 and the conclusion follows.

Henceforth assume nn odd. Rule out the case n≡5(mod6)n \equiv 5 \pmod 6 on account of p=172n+4≡3n+4(mod13)≡0(mod13)p = 17^{2n} + 4 \equiv 3^n + 4 \pmod{13} \equiv 0 \pmod{13}.

In the remaining cases, n≡1 or 3(mod6)n \equiv 1 \text{ or } 3 \pmod 6, write p=172n+4≡2n+4(mod7)p = 17^{2n} + 4 \equiv 2^n + 4 \pmod 7 to infer p≡5 or 6(mod7)p \equiv 5 \text{ or } 6 \pmod 7, both of which are quadratic nonresidues modulo 77; that is, (p7)=−1\left(\frac{p}{7}\right) = -1.

Consequently, (7p)=−1\left(\frac{7}{p}\right) = -1 by quadratic reciprocity, so 7(p−1)/2≡(7p)≡−1(modp)7^{(p-1)/2} \equiv \left(\frac{7}{p}\right) \equiv -1 \pmod p. This ends the proof.

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.