Given that $a$ and $b$ are positive integers. and $$f(x) = \frac{ax + b}{a -x + 1}$$ is an integer, what integer values can x have?
If I could only somehow move $x$ from numerator to the denominator I would be able to solve this by factoring the numerator.