Problem 3959 · Easy

Check Good Integer

Add up the squares of the digits, subtract the plain digit sum, and check whether the difference reaches fifty.

Open the interactive visualisation