Let $a,b \in \mathbb{N}$ two coprime numbers, so $\gcd(a,b) = 1$. Find the number of ordered pairs $(a,b)$ such that: $\frac {a}{ b} + \frac {201b}{10201a} \in \mathbb{N}$.
I got $10201ab | (10201a^2 +201b^2)$. How to proceed further?
Edit: As pointed out in the comment, I noticed $101^2=10201$. Therefore it can also be written as: $101^2ab|101(101a^2+2b^2)-b^2$
Hints From there $10201ab | (10201a^2 +201b^2)$ you get that $10201a | 201b^2 = (10201a^2 +201b^2)- (10201a)a $, and because $a$ and $b$ are coprime you get $a | 201$ (and also $10201|b^2$). Using the same idea you can get $b|10201$. This gives you only finitely many cases to check.