Find the sum of all positive integers n which satisfy this condition

Find the sum of all positive integers n n such that n 2 + 9 n + 1 n^{2} + 9n +1 is a perfect square.


The answer is 15.

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.

2 solutions

Filippo Olivetti
Apr 12, 2017

The following inequality are true for n > 15 n>15 : ( n + 4 ) 2 < n 2 + 9 n + 1 < ( n + 5 ) 2 \large {(n+4)^2<n^2+9n+1<(n+5)^2} Actually, ( n + 4 ) 2 = n 2 + 8 n + 16 (n+4)^2 = n^2+8n+16 have the same degree of n 2 + 9 n + 1 n^2+9n+1 but a smaller coefficient for n n , so after a precise value of n n (which is 15), n 2 + 9 n + 1 n^2+9n+1 is a greater than n 2 + 8 n + 16 n^2+8n+16 . So, for n > 15 n>15 , n 2 + 9 n + 1 n^2+9n+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 15 \boxed{15} .

We require positive integers n , m n,m such that

n 2 + 9 n + 1 = m 2 ( n + 9 2 ) 2 81 4 + 1 = m 2 ( 2 n + 9 ) 2 81 + 4 = 4 m 2 n^{2} + 9n + 1 = m^{2} \Longrightarrow (n + \frac{9}{2})^{2} - \frac{81}{4} + 1 = m^{2} \Longrightarrow (2n + 9)^{2} - 81 + 4 = 4m^{2} \Longrightarrow

( 2 n + 9 ) 2 ( 2 m ) 2 = 77 ( ( 2 n + 9 ) + 2 m ) ( ( 2 n + 9 ) 2 m ) = 77 (2n + 9)^{2} - (2m)^{2} = 77 \Longrightarrow ((2n + 9) + 2m)((2n + 9) - 2m) = 77 .

Now 2 n + 9 + 2 m > 0 2n + 9 + 2m \gt 0 , so to get a positive product we must also have that 2 n + 9 2 m > 0 2n + 9 - 2m \gt 0 .

Then since 2 n + 9 + 2 m > 2 n + 9 2 m > 0 2n + 9 + 2m \gt 2n + 9 - 2m \gt 0 , and since 77 77 can be factored as a product of pairs of positive integers in only two ways, namely 77 × 1 77 \times 1 and 11 × 7 11 \times 7 , we must either have

  • 2 n + 9 + 2 m = 77 2n + 9 + 2m = 77 and 2 n + 9 2 m = 1 2 × ( 2 n + 9 ) = 78 n = 15 2n + 9 - 2m = 1 \Longrightarrow 2 \times (2n + 9) = 78 \Longrightarrow n = 15 , or

  • 2 n + 9 + 2 m = 11 2n + 9 + 2m = 11 and 2 n + 9 2 m = 7 2 × ( 2 n + 9 ) = 18 n = 0 2n + 9 - 2m = 7 \Longrightarrow 2 \times (2n + 9) = 18 \Longrightarrow n = 0 .

As the only positive integer solution is 15 15 , the sum of all positive integer solutions is then 15 \boxed{15} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...