DR.WANG Mathematics中文

2021 Euclid · Question 9

Number theory · Integer solutions

Problem outline

Consider K2+3L2=a2+b2−abK^2+3L^2=a^2+b^2-ab in integers. (a) For a=5,b=4a=5,b=4, list every (K,L)(K,L). (b) For every K,LK,L, construct integers a,ba,b giving equality. (c) Conversely, for every a,ba,b, construct integers K,LK,L giving equality.

Show answer and methods 1 methods

Answer

(a) (±3,±2)(\pm3,\pm2) with independent signs. (b) a=K+L, b=K−La=K+L,\ b=K-L. (c) Use the half-sum and half-difference for equal parities, or halve the even input as detailed below.

Method 1 (a) Enumerate squares; (b,c) complete a square with the right parity

(a) The right side is 25+16−20=2125+16-20=21. We must have ∣L∣≤2|L|\le2. For ∣L∣=0,1,2|L|=0,1,2 the possible K2K^2 are 21,18,921,18,9 respectively. Only 99 is square, giving the four sign choices stated.

(b) Expanding (K+L)2+(K−L)2−(K+L)(K−L)(K+L)^2+(K-L)^2-(K+L)(K-L) gives K2+3L2K^2+3L^2. This supplies integers a,ba,b for every integer pair K,LK,L.

(c) If a,ba,b have the same parity, take K=(a+b)/2, L=(a−b)/2K=(a+b)/2,\ L=(a-b)/2 and apply (b). Otherwise one input is even. By symmetry call it bb. Then a2+b2−ab=(a−b/2)2+3(b/2)2a^2+b^2-ab=(a-b/2)^2+3(b/2)^2, so take K=a−b/2, L=b/2K=a-b/2,\ L=b/2. When aa is the even input interchange a,ba,b in these formulas.

Source and attribution

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

Original question (external)