If a is a four digit number and the sum of a and 400 is a complete square number, how many such numbers are there Question 2: what is the smallest positive integer x that makes 1260 x = n ^ 2 hold? Thank you. These two problems have bothered me for a long time. Thank you for helping me solve them

If a is a four digit number and the sum of a and 400 is a complete square number, how many such numbers are there Question 2: what is the smallest positive integer x that makes 1260 x = n ^ 2 hold? Thank you. These two problems have bothered me for a long time. Thank you for helping me solve them

first
It is enough to investigate how many complete squares there are in the [140010400) interval
From root 1400 = 10, root 14 = 37.41
Root 10400 = 20 root 26 = 101.9
So 1400