Find the sum of all positive integers n such that n 2 + 9 n + 1 is a perfect square.
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 require positive integers n , m such that
n 2 + 9 n + 1 = m 2 ⟹ ( n + 2 9 ) 2 − 4 8 1 + 1 = m 2 ⟹ ( 2 n + 9 ) 2 − 8 1 + 4 = 4 m 2 ⟹
( 2 n + 9 ) 2 − ( 2 m ) 2 = 7 7 ⟹ ( ( 2 n + 9 ) + 2 m ) ( ( 2 n + 9 ) − 2 m ) = 7 7 .
Now 2 n + 9 + 2 m > 0 , so to get a positive product we must also have that 2 n + 9 − 2 m > 0 .
Then since 2 n + 9 + 2 m > 2 n + 9 − 2 m > 0 , and since 7 7 can be factored as a product of pairs of positive integers in only two ways, namely 7 7 × 1 and 1 1 × 7 , we must either have
2 n + 9 + 2 m = 7 7 and 2 n + 9 − 2 m = 1 ⟹ 2 × ( 2 n + 9 ) = 7 8 ⟹ n = 1 5 , or
2 n + 9 + 2 m = 1 1 and 2 n + 9 − 2 m = 7 ⟹ 2 × ( 2 n + 9 ) = 1 8 ⟹ n = 0 .
As the only positive integer solution is 1 5 , the sum of all positive integer solutions is then 1 5 .
Problem Loading...
Note Loading...
Set Loading...
The following inequality are true for n > 1 5 : ( n + 4 ) 2 < n 2 + 9 n + 1 < ( n + 5 ) 2 Actually, ( n + 4 ) 2 = n 2 + 8 n + 1 6 have the same degree of n 2 + 9 n + 1 but a smaller coefficient for n , so after a precise value of n (which is 15), n 2 + 9 n + 1 is a greater than n 2 + 8 n + 1 6 . So, for n > 1 5 , n 2 + 9 n + 1 is a number between two squares and it cannot be a square. Now, we need to check all integer smaller than 15. The only solution is 1 5 .