This is an extremely unstable library for doing
modular arithmetic, and general group theory for
Z_n^\times
.
- Extended GCD
- LCM
- Chinese Remainder Theorem
- Inverse mod
p
- modpow
- Factors to n (the list of factors [[2], [3], [2,2], [5], [2,3], ...] to n)
- Omega
- Factoring, totient (These are available in bqn-libs).