home
Notes
Projects
Speaking
dark_mode
light_mode
Modular Arithmetic
There's a total of 1 notes tagged with "Modular Arithmetic".
Tue, Jun 9, 2015
Special factorial modulo p
Let $n!_{\\%p}$ be a special factorial where $n!$ is divided by the maximum exponent of $p$ that divides $n!$. This article describes this problem and its solution, with an implementation in C++.