Maths Olympiad Prep

Library / /1 of 10

, 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(p1)/2+17^{(p-1)/2} + 1 is divisible by pp.

Solution

Write p=172n+44n+4(mod5)p = 17^{2n} + 4 \equiv 4^n + 4 \pmod 5 to deduce that p0(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 n5(mod6)n \equiv 5 \pmod 6 on account of p=172n+43n+4(mod13)0(mod13)p = 17^{2n} + 4 \equiv 3^n + 4 \pmod{13} \equiv 0 \pmod{13}.

In the remaining cases, n1 or 3(mod6)n \equiv 1 \text{ or } 3 \pmod 6, write p=172n+42n+4(mod7)p = 17^{2n} + 4 \equiv 2^n + 4 \pmod 7 to infer p5 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(p1)/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,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.