when 123 is added to a perfect square number, the new number, so formed also becomes a perfect square. what is the square root of the new number?

1 answer

19^2 + 123 = 22^2
or
61^2 + 123 = 62^2

(made up a short 6 line program in GWBASIC, a 1973 computer language to do this)