The digits of a three-digit number add up to 17 and their squares add up to 109. If 495 is subtracted from the number, its digits are reversed. What is the number?
Subtracting 495 reverses: 99(a − c) = 495 → a − c = 5
Try a = 8, c = 3 → b = 17 − 11 = 6
Squares: 64 + 36 + 9 = 109 ✔
Number = 863
Answer: 863