Number Theory (Factorization, Mod Inverse, Modular Arithmetic)