Perfect squares

Algebra Level 2

Find the sum of all the values of x + y x+y where x x and y y are positive integers such that:

x 2 + 3 x + 3 = y 2 x^2+3x+3=y^2

Note: If you think that there are infinitely many solutions or no solution, type 0 0 .


The answer is 0.

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

Mark Hennings
Feb 26, 2020

We manipulate the equation as follows: x 2 + 3 x + 3 = y 2 4 x 2 + 12 x + 12 = 4 y 2 ( 2 x + 3 ) 2 + 3 = 4 y 2 4 y 2 ( 2 x + 3 ) 2 = 3 ( 2 y + 2 x + 3 ) ( 2 y 2 x 3 ) = 3 \begin{aligned} x^2 + 3x + 3 & = \; y^2 \\ 4x^2 + 12x + 12 & = \; 4y^2 \\ (2x + 3)^2 + 3 & = \; 4y^2 \\ 4y^2 - (2x+3)^2 & = \; 3 \\ (2y + 2x + 3)(2y - 2x - 3) & = \; 3 \end{aligned} so we have four possible solutions ( 2 y + 2 x + 3 , 2 y 2 x 3 ) = ( 3 , 1 ) , ( 3 , 1 ) , ( 1 , 3 ) , ( 1 , 3 ) (2y+2x+3,2y-2x-3) \; = \; (3,1)\,,\,(-3,-1)\,,\,(1,3)\,,\,(-1,-3) which lead to four possible solutions in integers ( x , y ) = ( 1 , 1 ) , ( 2 , 1 ) , ( 2 , 1 ) , ( 1 , 1 ) (x,y) \; = \; (-1,1)\,,\,(-2,-1)\,,\,(-2,1)\,,\,(-1,-1) respectively. Thus there are no solutions in positive integers, so the answer is 0 \boxed{0} .

exactly how I did it. You could also make it as a quadratic in x and calculate discriminant which is a perfect square

Nitin Kumar - 1 year, 3 months ago

Yes. Even I did the same method Nitin Kumar!!!

Mohammed Imran - 1 year, 3 months ago

Log in to reply

oh, nice, Mohammed Imran

Nitin Kumar - 1 year, 3 months ago

Any pair ( x , ± x 2 + 3 x + 3 ) (x, \pm \sqrt {x^2+3x+3}) satisfy the equation. Hence there are infinite number of solutions and the answer is 0 \boxed 0 .

wrong. It is not true that (x^2+3x+3)^1/2 is integral for infinite values of x

Nitin Kumar - 1 year, 3 months ago

Log in to reply

Originally it was not mentioned that x , y x, y are integers.

A Former Brilliant Member - 1 year, 3 months ago

Log in to reply

oh, I see, fine

Nitin Kumar - 1 year, 3 months ago

Log in to reply

@Nitin Kumar Imran should now change the correct answer to -6

Nitin Kumar - 1 year, 3 months ago

@Nitin Kumar sorry, i replied to myself

Nitin Kumar - 1 year, 3 months ago

infact only for x=-2, -1

Nitin Kumar - 1 year, 3 months ago

Log in to reply

So you proved yourself that the correct answer is not 0 0 .

A Former Brilliant Member - 1 year, 3 months ago

Log in to reply

yes, exactly

Nitin Kumar - 1 year, 3 months ago

when i typed 0, I actually guessed

Nitin Kumar - 1 year, 3 months ago

thought it would be the answer

Nitin Kumar - 1 year, 3 months ago

Actually there are four solutions in integers, but no solutions in positive integers. The question has been edited to include the word positive .

Mark Hennings - 1 year, 3 months ago

Log in to reply

ok, thanks!

Nitin Kumar - 1 year, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...