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

Home > Numbers
Prime candidates (Posted on 2013-09-11) Difficulty: 3 of 5
Find all existing solutions of the equation
xy- yx= x*y2-19,
provided x and y are primes.

No Solution Yet Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution Comment 2 of 2 |
Since x and y are prime and we have powers, it makes sense to evaluate the equation mod x and mod y, with help from Fermat's Little Theorem.

Working mod x we get -y = -19 mod x, which means x divides (y-19)
Working mod y we get x = 19 mod y, which means y divides (x+19)

Now multiply the two divisibility conditions together: x*y divides (y-19)*(x+19)=x*y-19x+19y-19^2
Simplifying a bit we can say x*y divides 19*(x-y+19).

So one set of cases is apparent, one of x or y is 19.  In either case the right side of the equation is a multiple of 19 and one of the two terms on the left is a multiple of 19.  But then working mod 19 this means that the other term is a multiple of 19, which then means both x and y equal 19.
This is a problem since then the left side reduces to 0 but the right side does not.  So no solutions so far.

So neither x nor y is 19 then x*y divides 19*(x-y+19) can be reduced to x*y divides (x-y+19).

So now I'll introduce an inequality. x*y divides (x-y+19) implies x*y <= |x-y+19|.  We can drop the absolute values by noting for positive x and y we must have |x-y+19| < x+y+19.
Then x*y < x+y+19.

Rearrange this into (x-1)*(y-1) < 20.  With x and y being primes then x-1 and y-1 can only be from the set {1,2,4,6,10,12,16,18}
This leaves a finite set of possible solutions, which Charlie's exploration has already covered giving the two known solutions of (x,y) = (2,3) or (2,7)

  Posted by Brian Smith on 2023-11-21 11:57:19
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 (6)
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