Problem:
Find the modular multiplicative inverse $x$, or $x$ such that $1789x \equiv 1 \pmod{1818}$.
Answer:
$1003$
{'source': 'AMPS', 'file': 'amps/mathematica/number_theory/modular_inverse/4395.txt'}