Perfect square quadratic

f ( n ) f(n) = n 2 + 12 n 835 n^{2} +12n - 835 has 4 integer values (of n n ) such that f ( n ) f(n) is a perfect square . Find the product of the largest value with the sum of the 4 values.


The answer is -10320.

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

Odysseas Kal
Jan 14, 2017

By completing the square f ( n ) = ( n + 6 ) 2 871 f(n) =(n+6)^{2} - 871

Let n + 6 = x n+6 = x and let the value of ( n + 6 ) 2 871 (n+6)^{2} - 871 be y 2 y^{2} .

x 2 871 = y 2 = > x 2 y 2 = 871 = > ( x + y ) ( x y ) = 871 x^{2} - 871 = y^{2} => x^{2} - y^{2} = 871 => (x+y)(x-y) = 871

To find the largest integer value of x x , x + y = 871 x+y = 871 and x y = 1 x-y = 1

Therefore, 2 x = 872 = > x = 436 2x = 872 => x = 436

since x = n + 6 , n = 430 x = n+6, n =430 and this is the largest integer value of n such that f ( n ) f(n) is a perfect square.

For every positive integer value of f ( n ) f(n) , there is a negative integer value such that f ( n ) f(n) is a perfect square. This is because ( n + 6 ) 2 871 = ( n 12 + 6 ) 2 871 (n+6)^{2} - 871 = (-n-12+6)^{2} - 871 . Therefore, if n n is a positive integer solution, ( n 12 ) (-n-12) is also an integer solution. As a result, for each pair of positive and negative solutions, their sum is n n 12 = 12 n-n-12 = -12 . Since we have 2 pairs of positive and negative integer solutions, their sum is 24 -24 .

Finally, the product of the largest value with the sum of the 4 values is 24 430 = 10320 -24*430 = -10320

Nice short-cut for getting the sum of 24 -24 . I solved for all 4 values of n n , i.e., 430 , 34 , 46 430, 34, -46 and 442 -442 , and then added afterwards.

Brian Charlesworth - 4 years, 4 months ago

Log in to reply

This short-cut also allows you to solve the problem without having to find the other factors of 871 , making it easy to solve without a calculator/computer.

Odysseas Kal - 4 years, 4 months ago

Log in to reply

Yes, once we are told that there are 4 integer solutions it does make it easy. We know that there 4 solutions because the prime factorization of 871 871 is 13 67 13*67 , and thus it can be written as a product in 4 ways, namely

1 871 , ( 1 ) ( 871 ) , 13 67 1*871, (-1)*(-871), 13*67 and ( 13 ) ( 67 ) (-13)*(-67) .

Brian Charlesworth - 4 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...