I have seen many questions like this
x1+y1=n1 where n is any positive integer, Find all the ordered pair (x,y).
So How to solve these kinds of questions?
Lets Start.
See,
x1+y1=n1
⟹xyx+y=n1
⟹x+y=nxy
⟹nx+ny=xy
⟹nx+ny−xy=0
⟹x(n−y)+ny=0
⟹x(n−y)+ny−n2=−n2 Adding −n2 to both sides
Now Factorizing it , will give
⟹(x−n)(y−n)=n2.
Say n=p1a1p2a2... where p1,p2 are primes.
So total number of divisors of n=(a1+1)(a2+1)..(an+1)
So Number of pairs = No. of divisors = (a1+1)(a2+1)..(an+1)
PRACTICE EXAMPLE
x1+y1=20151 , Find all the ordered pair (x,y).
x1+y1=18901 , Find all the ordered pair (x,y).
Lets END Here.
Hope it helps
#NumberTheory
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Hey, can you elaborate a bit more? Like for the practice example 1, no of divisors is 3..Then how do you proceed ?
Log in to reply
Like the way I proceeded.
So let me help u with the 1st one. Try the 2nd on ur own
x1+y1=20151
⟹xyx+y=20151
⟹x+y=2015xy
⟹2015x+2015y=xy
⟹2015x+2015y−xy=0
⟹x(2015−y)+2015y=0
⟹x(2015−y)+2015y−20152=−20152 Adding −20152 to both sides
Now Factorizing it , will give
⟹(x−2015)(y−2015)=20152.
Now see that if the in the place of 20152 it was 2×3 (SAY).
Then ⟹(x−2015)(y−2015)=2∗3.
So the solution would have been x−2015=2 y−2015=3 or x−2015=3 y−2015=2 or x−2015=6 y−2015=1 or x−2015=1 y−2015=6.
So here we can see that number of divisors of 6 are 4(namely 1,2,3,6).
So here we have 4 solns.
But what in case of 2015^2?
We will get 20152=p1a1p2a2... So
No. of divisors = No of Solutions = (a1+1)(a2+1)...
OK?
Log in to reply
Ok thanks..
@Md Zuhair- You also have to account for the negative divisors ,thus the total number of solutions will be 2(number of divisors)−1,Assuming x and y are integers thus incorporating negative values for x and y
where (0,0) is the neglected solution
@Md Zuhair I think that the number of ordered pairs are the number of factors of n2
So the no. of ordered pairs would be (2a1+1)(2a2+2)..(2an+1)