Maths Olympiad Prep

Library / /183 of 520

Number theory Difficulty 5.9 AIME, harder Prove it

Example 8 Let pp be a prime, p3(mod4)p \equiv 3(\bmod 4). Prove: 2p+12 p+1 is a prime if and only if
2p1(mod2p+1)2^{p} \equiv 1(\bmod 2 p+1)

Solution

Necessity If q=2p+1q=2 p+1 is a prime, then by the condition we know q1(mod8)q \equiv-1(\bmod 8), and thus by Theorem 3 we have (2q)=1\left(\frac{2}{q}\right)=1. From this and Theorem 1 (ii), we get
12(q1)/22p(mod2p+1)1 \equiv 2^{(q-1) / 2} \equiv 2^{p}(\bmod 2 p+1)

Sufficiency If equation (15) holds. Since pp is a prime, by Example 5 in Chapter 1, §3, we know that pp is the smallest positive integer dd satisfying
2d1(mod2p+1)2^{d} \equiv 1(\bmod 2 p+1)

Furthermore, by Theorem 3 in Chapter 3, §3, we know pφ(2p+1)p \mid \varphi(2 p+1). Therefore, it must be that φ(2p+1)=p\varphi(2 p+1)=p or 2p2 p. Since 2φ(m)(m>2)2 \mid \varphi(m)(m>2), we have φ(2p+1)=2p\varphi(2 p+1)=2 p. This proves that 2p+12 p+1 is a prime (why).

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: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.