Modular Arithmetic

There's a total of 1 articles.




Special factorial modulo p

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++.
Me
Published on Tue, Jun 9, 2015
Last modified on Sun, Jun 16, 2024
854 words - Page Source