When the $\gcd(a,m)=1$, we know that $ax≡1\mod(m)$ does have an inverse in $m$. Normally $a$ and $m$ are given and $x$ must be found. How can I find $a$ and $m$ when only $x $ is given so that $ax≡1(\mod(m))$?
For example when I choose $x=1337$ one solution would be $36290x=1(\mod (48519729))$.