# Tricky Congruence

${a^x \equiv a-2 \pmod{{\small(a-1)}}}$

If $$a$$ and $$x$$ are positive integers greater than 2, what is the value of $$a?$$

×