Maths Olympiad Prep

Library / /9 of 34

Number theory Difficulty 6.2 National Olympiad Prove it United States

For which positive integers b>2b > 2 do there exist infinitely many positive integers nn such that n2n^2 divides bn+1b^n + 1?
This problem is sort of the union of IMO 1990/3 and IMO 2000/5.

Solution

The answer is any bb such that b+1b+1 is not a power of 2. In the forwards direction, we first prove more carefully the following claim.

Claim. If b+1b+1 is a power of 2, then the only nn which is valid is n=1n=1.

Proof. Assume n>1n > 1 and let pp be the smallest prime dividing nn. We cannot have p=2p = 2, since then 4bn+12(mod4)4 \mid b^n + 1 \equiv 2 \pmod 4. Thus,
b2n1(modp) b^{2n} \equiv 1 \pmod{p}
so the order of bb (mod pp) divides gcd(2n,p1)=2\gcd(2n, p-1) = 2. Hence pb21=(b1)(b+1)p \mid b^2 - 1 = (b-1)(b+1).
But since b+1b+1 was a power of 2, this forces pb1p \mid b-1. Then 0bn+12(modp)0 \equiv b^n + 1 \equiv 2 \pmod{p}, contradiction. □

On the other hand, suppose that b+1b+1 is not a power of 2 (and that b>2b > 2). We will inductively construct an infinite sequence of distinct primes p0,p1,p_0, p_1, \dots, such that the following two properties hold for each k0k \ge 0:

* p02pk12pkbp0pk1+1p_0^2 \dots p_{k-1}^2 p_k \mid b^{p_0 \dots p_{k-1}} + 1,
* and hence p02pk12pk2bp0pk1pk+1p_0^2 \dots p_{k-1}^2 p_k^2 \mid b^{p_0 \dots p_{k-1} p_k} + 1 by exponent lifting lemma.

This will solve the problem.

Initially, let p0p_0 be any odd prime dividing b+1b+1. For the inductive step, we contend there exists an odd prime q{p0,,pk}q \notin \{p_0, \dots, p_k\} such that qbp0pk+1q \mid b^{p_0 \dots p_k} + 1. Indeed, this follows immediately by Zsigmondy theorem since p0pkp_0 \dots p_k divides bp0pk1+1b^{p_0 \dots p_{k-1}} + 1. Since (bp0pk)qbp0pk(modq)(b^{p_0 \dots p_k})^q \equiv b^{p_0 \dots p_k} \pmod q, it follows we can then take pk+1=qp_{k+1} = q. This finishes the induction.

To avoid the use of Zsigmondy, one can instead argue as follows: let p=pkp = p_k for brevity, and let c=bp0pk1c = b^{p_0 \dots p_{k-1}}. Then cp+1c+1=cp1cp2++1\frac{c^p+1}{c+1} = c^{p-1} - c^{p-2} + \dots + 1 has GCD exactly pp with c+1c+1. Moreover, this quotient is always odd. Thus as long as cp+1>p(c+1)c^p + 1 > p \cdot (c+1), there will be some new prime dividing cp+1c^p + 1 but not c+1c+1. This is true unless p=3p=3 and c=2c=2, but we assumed b>2b > 2 so this case does not appear.

Remark (On new primes). In going from n2bn+1n^2 \mid b^n + 1 to (nq)2bnq+1(nq)^2 \mid b^{nq} + 1, one does not necessarily need to pick a qq such that qnq \nmid n, as long as νq(n2)<νq(bn+1)\nu_q(n^2) < \nu_q(b^n + 1). In other words it suffices to just check that bn+1n2\frac{b^{n+1}}{n^2} is not a power of 2 in this process.

However, this calculation is a little more involved with this approach. One proceeds by noting that nn is odd, hence ν2(bn+1)=ν2(b+1)\nu_2(b^n + 1) = \nu_2(b+1), and thus bn+1n2=2ν2(b+1)b+1\frac{b^{n+1}}{n^2} = 2^{\nu_2(b+1)} \le b+1, which is a little harder to bound than the analogous cp+1>p(c+1)c^p+1 > p \cdot (c+1) from the previous solution.

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 reproduced verbatim; metadata (topic, difficulty) added by this project.