This one?: "
Nice try with that last correction ... of course, it must be

a^{n - 2} \equiv a^{-1} \pmod n

I double-checked it, and am somewhat more certain that it's correct :)
"