Modular Multiplicative Inverse Posted on May 19, 2020 A modular multiplicative inverse of an integer $a$ is an integer $x$ such that, [Read More] Tags: Number Theory
Linear Congruence Posted on May 19, 2020 When can you divide a congruence? [Read More] Tags: Number Theory
Fermat's Little Theorem I have a truly marvelous subtitle for this post which this margin is too narrow to contain. Posted on May 19, 2020 Statement: [Read More] Tags: Number Theory
Extended Euclidean Algorithm Posted on May 19, 2020 For two integers, $a$ and $b$, extended euclidean algorithm computes $\gcd(a,b)$ and coefficients $x,y \in \mathbb{Z}$ such that, [Read More] Tags: Number Theory
Exponentiation By Squaring Finding $ a^{n}~\rm{mod}~m $ in $ \mathcal{O}(\lg~n) $ time Posted on May 19, 2020 Given a base $a$, an exponent $n$ and a mod $m$, we have to compute $a^n ~\textrm{mod}~m$. [Read More] Tags: Number Theory