MathLabs

Problem 4

Determine all pairs (a,b)(a,b) of positive integers such that ab2+b+7 ab^{2}+b+7 divides a2b+a+b a^{2}b+a+b .
Step 5 of 6: Check the small cases
In plain words

Finish by checking b=1 b=1 and b=2 b=2.

b=1⇒a+8∣57⇒a=11,49b=1\Rightarrow a+8\mid57\Rightarrow a=11,49
Detailed analysis

For b=1 b=1, a+8∣a2+a+1 a+8\mid a^2+a+1, hence a+8∣7a−1 a+8\mid7a-1 and then a+8∣57 a+8\mid57. Since a+8>8 a+8>8, this gives a+8=19 a+8=19 or 5757, so a=11 a=11 or 4949. For b=2 b=2, 4a+9∣2a2+a+24a+9\mid2a^2+a+2 implies 4a+9∣794a+9\mid79; the only possible divisor greater than 99 is 7979, which would give a=35/2 a=35/2, impossible.