Find all positive integers n for which is a perfect square. (Type the answer as one number, with the digits being your values for n in ascending order).
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We have n 2 + 4 5 = x 2 where x 2 is the perfect square. This is rearranged to 4 5 = x 2 − n 2 , which can be factorised to 4 5 = ( x + n ) ( x − n ) . Now consider all possible factors of 45. These are: 4 5 x 1 , 1 5 x 3 and 9 x 5 . Since x + n > x − n , set x + n equal to the larger factor. This gives x + n = 4 5 and x − n = 1 , so x = 2 3 , n = 2 2 . Taking the next factor pair, x + n = 1 5 and x − n = 3 , so x = 9 , n = 6 . Finally, x + n = 9 and x − n = 5 , x = 7 , n = 2 . The possible values of n are therefore 2 , 6 and 2 2 .