pub fn mod_inverse(a: u64, m: u64) -> Option<u64>
Modular inverse of a modulo m, or None when gcd(a, m) != 1.
a
m
None
gcd(a, m) != 1