RHS = Perfect square

Algebra Level 3

What is the sum of all positive integers n 2018 n \le 2018 such that n 2 8 n 5 \ \large{n^2 - 8 n - 5} \ \ is a perfect square ?


The answer is 24.

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.

1 solution

Sathvik Acharya
Dec 26, 2017

n 2 8 n 5 = N 2 n^2-8n-5=N^2 where N N is a positive integer. Now rewrite n 2 8 n 5 n^2-8n-5 as ( n 4 ) 2 21 (n-4)^2-21 .

Thus the original equation changes to ( n 4 ) 2 21 = N 2 ( n 4 ) 2 N 2 = 21 (n-4)^2-21=N^2\implies (n-4)^2-N^2=21 Factorizing the above equation, we get, ( n 4 + N ) ( n 4 N ) = 1 × 3 × 7 (n-4+N)(n-4-N)=1 \times 3 \times 7 .

Case 1: n 4 + N = 21 , n 4 N = 1 n-4+N=21,\; n-4-N=1 . Solving this we get ( n , N ) = ( 15 , 10 ) (n,N)=(15, 10)

Case 2: n 4 + N = 7 , n 4 N = 3 n-4+N=7,\; n-4-N=3 . Solving this we get ( n , N ) = ( 9 , 2 ) (n,N)=(9, 2)

Note: The remaining cases will just give you the negative values for N N which is also correct as N N is getting squared and the same values for n n .

Thus the sum of all possible values for n n is 15 + 9 = 24 15+9=\boxed{24}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...