All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Find all possible pairs (Posted on 2023-11-19) Difficulty: 3 of 5
Find all solutions to
(m^2 + n)(m + n^2) = (m - n)^2

where m and n are non-zero integers.

No Solution Yet Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Some Thoughts Probable solution Comment 2 of 2 |
I did not find algebraic manipulation or attempts to factor helpful except:
setting m=n gives 2 solutions:  (0,0) and (-1,-1)  (rejecting the first due to the nonzero stipulation)

Program output with zero excluded
(-1, -1)
(-1, 2)
(2, -1)

If the nonzero stipulation were to be ignored, there would be 3 additional solutions:
(0, 0)
(0, 1)
(1, 0)

-------------
for m in range(-100,100):
    # if m == 0:
    #     continue
    for n in range(-big,big):
        # if n == 0:
        #     continue
        if (m**2 + n)*(m + n**2) == (m - n)**2:
            print('({}, {})'.format(m,n))

  Posted by Larry on 2023-11-19 15:27:12
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information