a static bool method that reciving a intput number and exponent any digit until the result is 1 for expample:
13 -> 1^2+3^2 = 10 -> 1^2+0^2 = 1 the output will