The goal is to find the smallest non-negative integer that, when added to 6412, results in a perfect square.
First, find the square root of the given number, 6412.
$ \sqrt{6412} \approx 80.07 $
Since the square root is approximately 80.07, the next whole number is 81. The perfect square immediately greater than 6412 will be the square of 81.
Calculate the square of 81:
$ 81^2 = 81 \times 81 = 6561 $
This number, 6561, is the smallest perfect square greater than 6412.
To find the least number that must be added to 6412 to get 6561, subtract 6412 from 6561.
Number to add = $ 6561 - 6412 $
Number to add = $ 149 $
Therefore, the least number which must be added to 6412 to get a perfect square is 149.
If 1 is added to each odd digit and 2 is subtracted from each even digit in the number 8317456, what will be the sum of the digits that are second from the left and second from the right?