Olympiad Maths Prep

Track / Stage 7 / 267 of 300 #1667 of 2000

Problem 1667

National olympiad second round; IMO P1/P4
Number theory Difficulty 7.7 Prove it 64th NMO Selection Tests for the Balkan and International Mathematical Olympiads · Romania

Let SS be the set of rational numbers of the form
(a12+a11)(a22+a21)(an2+an1)(b12+b11)(b22+b21)(bn2+bn1), \frac{(a_1^2 + a_1 - 1)(a_2^2 + a_2 - 1) \cdots (a_n^2 + a_n - 1)}{(b_1^2 + b_1 - 1)(b_2^2 + b_2 - 1) \cdots (b_n^2 + b_n - 1)},
where n,a1,a2,,an,b1,b2,,bnn, a_1, a_2, \dots, a_n, b_1, b_2, \dots, b_n run through the positive integers. Show that SS contains infinitely many primes.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

Clearly, SS is closed under multiplication and division: if rr and ss are members of SS, so are rsrs and r/sr/s.

If aa is a positive integer, and p5p \neq 5 is a prime factor of a2+a1a^2 + a - 1, then p±1(mod5)p \equiv \pm 1 \pmod 5. To prove this, notice that (2a+1)25(modp)(2a + 1)^2 \equiv 5 \pmod p, so 55 is a quadratic residue modulo pp. By quadratic reciprocity, pp is a quadratic residue modulo 55, so p±1(mod5)p \equiv \pm 1 \pmod 5. Notice also that SS contains 55, for 5=22+215 = 2^2 + 2 - 1.

We now show by induction that SS contains all primes congruent to ±1(mod5)\pm 1 \pmod 5. Since there are infinitely many such, the conclusion follows. To begin, notice that 1111 and 1919 both are in SS: 11=32+3111 = 3^2 + 3 - 1, and 19=42+4119 = 4^2 + 4 - 1.

Consider now a prime q±1(mod5)q \equiv \pm 1 \pmod 5, and assume that SS contains all primes p<q,p±1(mod5)p < q, p \equiv \pm 1 \pmod 5. Since qq is a quadratic residue modulo 55, quadratic reciprocity shows that 55 is a quadratic residue modulo qq, so there exists aa in {1,2,,q1}\{1, 2, \dots, q - 1\} such that a2+a1=mqa^2 + a - 1 = mq for some positive integer mm. Notice that a2+a1(q1)2+(q1)1=q2q1<q2a^2 + a - 1 \le (q - 1)^2 + (q - 1) - 1 = q^2 - q - 1 < q^2, to deduce that m<qm < q. If m=1m = 1, then q=a2+a1q = a^2 + a - 1 which is a member of SS. If m>1m > 1, and pp is a prime factor of mm, then

pp is also a prime factor of a2+a1a^2 + a - 1, so p=5p = 5 or p±1(mod5)p \equiv \pm 1 \pmod 5. In either case, pp is a member of SS, so mm is a member, for SS is closed under multiplication. Since q=(a2+a1)/mq = (a^2 + a - 1)/m, and SS is closed under division, it follows that qq is indeed a member of SS. This completes the proof.

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