Y by Adventure10, asdf334, donotoven, mathematicsy, TFIRSTMGMEDALIST, megarnie, adityaguharoy, ImSh95, Rounak_iitr, Mango247, MS_asdfgzxcvb, and 1 other user
Determine all positive integers
that satisfy the following condition: for all
and
relatively prime to
we have ![\[a \equiv b \pmod n\qquad\text{if and only if}\qquad ab\equiv 1 \pmod n.\]](//latex.artofproblemsolving.com/e/8/5/e85c5b249ac8e75b45a525b8786414798a4921fe.png)




![\[a \equiv b \pmod n\qquad\text{if and only if}\qquad ab\equiv 1 \pmod n.\]](http://latex.artofproblemsolving.com/e/8/5/e85c5b249ac8e75b45a525b8786414798a4921fe.png)
This post has been edited 1 time. Last edited by djmathman, Oct 3, 2016, 3:32 AM
Reason: adjusted formatting
Reason: adjusted formatting