Improved algorithms for left factorial residues

Vladica Andrejić,Alin Bostan,Milos Tatarevic
DOI: https://doi.org/10.48550/arXiv.1904.09196
2020-12-18
Abstract:We present improved algorithms for computing the left factorial residues $!p=0!+1!+...+(p-1)! \!\mod p$. We use these algorithms for the calculation of the residues $!p\!\mod p$, for all primes $p$ up to $2^{40}$. Our results confirm that Kurepa's left factorial conjecture is still an open problem, as they show that there are no odd primes $p<2^{40}$ such that $p$ divides $!p$. Additionally, we confirm that there are no socialist primes $p$ with $5<p<2^{40}$.
Number Theory,Symbolic Computation
What problem does this paper attempt to address?