DR.WANG Mathematics中文

2019 Euclid · Question 9

Number theory · Factors and divisibility · Integer solutions

Problem outline

For positive integers a,ba,b, set f(a,b)=a/b+b/a+1/(ab)f(a,b)=a/b+b/a+1/(ab). (a) Evaluate f(2,5)f(2,5). (b) Find all positive integers aa for which f(a,a)f(a,a) is integral. (c) Prove that every integral value of f(a,b)f(a,b) is a multiple of 33. (d) Exhibit four distinct pairs (a,b)(a,b) with 2<a<b2<a<b for which f(a,b)f(a,b) is integral.

Show answer and methods 1 methods

Answer

(a) 33. (b) a=1a=1. (c) 3∣f(a,b)3\mid f(a,b) whenever the value is integral. (d) Examples are (5,13),(13,34),(34,89),(89,233)(5,13),(13,34),(34,89),(89,233), all with value 33.

Method 1 Reduce modulo three and use the other quadratic root

(a) Putting everything over abab gives f(a,b)=(a2+b2+1)/(ab)f(a,b)=(a^2+b^2+1)/(ab), hence f(2,5)=(4+25+1)/10=3f(2,5)=(4+25+1)/10=3. (b) On the diagonal f(a,a)=2+1/a2f(a,a)=2+1/a^2. For a=1a=1 it is 33; for a≥2a\ge2 it is strictly between 22 and 33.

(c) Write k=f(a,b)∈Zk=f(a,b)\in\mathbb Z. If 3∣a3\mid a, reducing kab=a2+b2+1kab=a^2+b^2+1 modulo 33 gives b2≡2(mod3)b^2\equiv2\pmod3, impossible since squares are 00 or 11 modulo 33. By symmetry 3∤b3\nmid b as well. Thus a2+b2+1≡1+1+1=0(mod3)a^2+b^2+1\equiv1+1+1=0\pmod3. Since 3∤ab3\nmid ab, this forces 3∣k3\mid k.

(d) Keep the value k=3k=3. If (a,b)(a,b) gives this value, then aa is one root of t2−3bt+(b2+1)=0t^2-3bt+(b^2+1)=0. The other root is 3b−a3b-a. The formula for ff is symmetric, so (b,3b−a)(b,3b-a) again gives 33. Starting from (2,5)(2,5) and applying this operation four times gives (5,13),(13,34),(34,89),(89,233)(5,13),(13,34),(34,89),(89,233), all satisfying the strict inequalities.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)