There is a number, which has five digits 5abc9. If this number is the square of an integer, where a,b,c each represent a missing digit and all five digits are different, then find this number.
I knew the last digit had to be a 3 because the last number is 9 and the number had to be less than 300 because that is 90000 so I just used trial and error to get the answer.