Let $a$ and $b$ be positive integers and p and q be two distinct primes. Prove that if $a(a^{pq-p-q+2} -b) $ is not divisible by $pq,$ then $a-b$ is not divisible by $pq$.
I was trying to do a proof by contradiction:
Suppose that $pq\mid a-b$. We have that $p\mid a-b$ and $q\mid a-b$ and so:
$a \equiv b \pmod{pq} \\ a \equiv b \pmod{p} \\a \equiv b \pmod{q}$
I notice that I can refactor it as $a((a^{q-1})^{p}(a^{-q})(a^2) -b))$ or $a((a^{p-1})^{q}(a^{-p})(a^2) - b))$, so possibly Fermat's little theorem could be helpful.
Then I am trying to show that
$a(a^{pq-p-q+2} -b) \equiv a_1 \pmod{p} \\ a(a^{pq-p-q+2} -b) \equiv a_2 \pmod{q}.$
Then I use the Chinese Remainder Theorem to show that $a(a^{pq-p-q+2} -b) \equiv 0 \pmod{pq}$
but I have not had any success with doing this, any help is appreciated.