Kurepa's conjecture #
Reference: On the left factorial function !N, by Đuro Kurepa Math. Balkanica 1, p. 147-153, 1971
Left factorial of n $$!n = 0! + 1! + 2! + \dots + (n-1)!$$
Equations
- Kurepa.left_factorial n = ∑ m ∈ Finset.range n, m.factorial
Instances For
Kurepa's conjecture #
For all $n$, $$!n\not\equiv 0 \mod n$$
This appears as B44 "Sums of factorials." in Unsolved Problems in Number Theory by Richard K. Guy
This statement can be reduced to the prime case only.
Kurepa's conjecture for all integers greater than 2 is equivalent to the conjecture restricted to primes greater than 2.
An equivalent formulation in terms of the gcd of $n!$ and $!n$.
Kurepa's conjecture for all integers greater than 2 is equivalent to the statement that $\gcd(n!, !n) = 2$ for all integers greater than 2.
Sanity check: for small values we can just compute that the conjecture is true
Sanity check: for small values we can just compute that the conjecture is true.