Maths Olympiad Prep

Library / Romania — NMO Selection Tests for the Balkan and International Mathematical Olympiads /13 of 80

Romania — NMO Selection Tests for the Balkan and International Mathematical Olympiads

Number theory Difficulty 7.7 National Olympiad, round 2 Prove it Romania

Let SS be the set of rational numbers of the form
(a12+a1−1)(a22+a2−1)⋯(an2+an−1)(b12+b1−1)(b22+b2−1)⋯(bn2+bn−1), \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.

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 p≠5p \neq 5 is a prime factor of a2+a−1a^2 + a - 1, then p≡±1(mod5)p \equiv \pm 1 \pmod 5. To prove this, notice that (2a+1)2≡5(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+2−15 = 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+3−111 = 3^2 + 3 - 1, and 19=42+4−119 = 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,…,q−1}\{1, 2, \dots, q - 1\} such that a2+a−1=mqa^2 + a - 1 = mq for some positive integer mm. Notice that a2+a−1≤(q−1)2+(q−1)−1=q2−q−1<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+a−1q = 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+a−1a^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+a−1)/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.

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.