Problem 1
Determine all three-digit numbers that are divisible by , such that equals the sum of the squares of the digits of .
Step 2 of 3: The condition is a simple digit computation to check per candidate
Detailed analysis
For each candidate (), compute the sum of squares of 's three digits and compare it to ; keep only the matches.