MathDB
q^2 + r = 2011 when ab = q (a + b) + r , 0 \le r <a + b

Source: Germany Federal - Bundeswettbewerb Mathematik 2011, round 1, p4

April 10, 2020
Diophantine equationdiophantineEuclidean algorithmnumber theory

Problem Statement

Let aa and bb be positive integers. As is known, the division of of aba \cdot b with a+ba + b determines integers qq and rr uniquely such that ab=q(a+b)+ra \cdot b = q (a + b) + r and 0r<a+b0 \le r <a + b. Find all pairs (a,b)(a, b) for which q2+r=2011q^2 + r = 2011.