#Pythagoras based problem

24 messages · Page 1 of 1 (latest)

simple cosmos
#

Find number of integer values of (x,y) satisfying (positive)

X^2 + Y^2 = 32045

This was a really good question and I wanted other people to try to find other unique solutions.

hollow prawnBOT
simple cosmos
#

Only positive values of x and y.

frozen lynx
#

try finding nearest perfect square of 32045,(should be greater then 32045)

#

then sub. (X+Y)^2 -2XY instead of X^2+Y^2

#

so

#

since you know the nearest perfect square of the given number

#

subtract the given number and the nearest perfect square and sub. it with 2XY

#

you will def. get the value

#

ping me, if any prob...

simple cosmos
#

Integers solutions

#

It came in a exam where I have to each question in 4-6 minutes

#

So I don’t think putting values would give me all the solutions.

#

The answer to this question is 16 so it won’t be possible to jot all of them down in even 15 minutes

frozen lynx
#

you can find the nearest perfedct square ryt?

simple cosmos
#

Yes

frozen lynx
simple cosmos
#

But it would only give me some solutions not all

simple cosmos
#

And can miss things using it.

frozen lynx
#

its the shortest method for this problem, prove me wrong

silk galleon
#

.close