MathLabs

Problem 1

Determine all three-digit numbers NN that are divisible by 1111, such that N/11N/11 equals the sum of the squares of the digits of NN.
Step 6 of 6: Case B: solving b=3 (N=803) and ruling out b=7; final answer
b=3: a2−11a+28=0⇒a=7⇒N=803b=3:\ a^2-11a+28=0\Rightarrow a=7\Rightarrow N=803
Detailed analysis

For b=3b=3, the equation reduces to a2−11a+28=0a^2-11a+28=0, with roots a=4a=4 or a=7a=7; since Case B requires a+b≥10a+b\ge10, i.e. a≥7a\ge7, only a=7a=7 is valid, giving digits 8,0,38,0,3, i.e. N=803N=803 (check: 803/11=73=82+02+32803/11=73=8^2+0^2+3^2). For b=7b=7, the equation becomes a2−7a+26=0a^2-7a+26=0, whose discriminant is negative, so no solution. Having exhausted both cases, the complete answer is N=550N=550 and N=803N=803.