Divisibilityhard
0:00.0

Consider positive integers aa and bb such that the ratio q=a2+b2ab+1q = \frac{a^2 + b^2}{ab+1} is an integer. Which of the following statements completely characterizes the set of all possible values of qq?