2021 Euclid · Question 9
Problem outline
Consider in integers. (a) For , list every . (b) For every , construct integers giving equality. (c) Conversely, for every , construct integers giving equality.
Show answer and methods 1 methods
Answer
(a) with independent signs. (b) . (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 . We must have . For the possible are respectively. Only is square, giving the four sign choices stated.
(b) Expanding gives . This supplies integers for every integer pair .
(c) If have the same parity, take and apply (b). Otherwise one input is even. By symmetry call it . Then , so take . When is the even input interchange in these formulas.
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)