Sign up ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.


Find all integer solutions for x and y.

I can solve linear diophantine equations without a problem normally but this has me stumped.

share|cite|improve this question
In general, you count precisely $$\sum_{x | n}\sum_{y | n/x} 1 = \tau(n^2)$$ Positive integer solutions to $1/x + 1/y = 1/n$. – Balarka Sen Mar 28 '14 at 13:29

2 Answers 2

The equation gives: $14y = xy - 14x$. So solving for $x$ and get: $x = 14 + \frac{196}{y-4}$.

So $x$ is an integer if $y - 4$ divides $196$. We can take it from here....

share|cite|improve this answer
Is moving from $14y = xy - 14x$ to $x = 14 + 196/(y-4)$ any easier than the original problem? – ColinK Mar 28 '14 at 13:10
@ColinK: it is much easier because you can see rightaway what y can be. – Kf-Sansoo Mar 28 '14 at 20:59
The $y-4$ in the denominator must be $y-14$ – ccorn Mar 29 '14 at 14:32

Rewrite as $xy-14x-14y=0$, and then, in an analogue of completing the square, as $(x-14)(y-14)=196$.

So $x-14$ ranges over the divisors of $196$. Since $196=2^2\cdot 7^2$, $196$ has $(2)(3)(3)$ integer divisors, including the negative divisors. That gives $18$ possible values of $x$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.