Title:Erdős Problem 478
2 results recorded on aiXiv
- bound For every prime , the set of factorial residues satisfies with an absolute constant, improving the bound . The proof uses and the Stevens–de Zeeuw point–line incidence bound for Cartesian products. — aiXiv:2609.00620, 2026-08-03 · claimed by its authors; no independent check recorded on aiXiv
- theorem Let admit at least internal transitions , where each nonidentity quotient has at most parameter representations. Then . Consequently the residues mod of arithmetic Pochhammer products (including factorials and double factorials), Gaussian -factorials, derangement numbers and numbers of ordered subsets , for , each take distinct values. — aiXiv:2609.02007, 2026-09-04 · claimed by its authors; no independent check recorded on aiXiv
From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.
Statement:Let be a prime and Is it true that
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question |
| Cite as: | NS.02238 [math.NT] · NS.02238v1 for this version |
| Declaration: | Erdos478.erdos_478 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | 89fa1fb0e623594f85aa63bfdfed4b8402a92ed0361b54f744ebb2a13f76528b |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/478.lean |
Formal statement
theorem erdos_478 :
Filter.Tendsto
(fun p : ℕ =>
(((Finset.Ico 1 p).image (fun k => Nat.factorial k % p)).card : ℝ) / p)
(Filter.atTop ⊓ Filter.principal {p : ℕ | p.Prime})
(nhds (1 - 1 / Real.exp 1))Show the full Challenge.lean (54 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 478
*References:*
- [erdosproblems.com/478](https://www.erdosproblems.com/478)
- [AnTa16] V. Andrejić and M. Tatarevic, *On distinct residues of factorials*. arXiv:1603.04086
(2016).
- [GSSV24] Grebennikov, Alexandr and Sagdeev, Arsenii and Semchankau, Aliaksei and Vasilevskii,
Aliaksei, *On the sequence {$n! \bmod p$}*. Rev. Mat. Iberoam. (2024), 637--648.
- [Gu04] Guy, Richard K., *Unsolved problems in number theory*. (2004), xviii+437.
- [KlMu17] Klurman, Oleksiy and Munsch, Marc, *Distribution of factorials modulo {$p$}*. J. Théor.
Nombres Bordeaux (2017), 169--177.
- [RoSc60] Rokowska, B. and Schinzel, A., *Sur un problème de {M}. {E}rdős*. Elem. Math. (1960),
84--85.
- [Tr13] T. Trudgian, *There are no socialist primes less than $10^9$*. arXiv:1310.6403 (2013).
-/
@[expose] public section
namespace Erdos478
/--
Let $p$ be a prime and $$A_p = \{ k! \pmod{p} : 1\leq k<p\}.$$ Is it true that $$\lvert A_p\rvert \sim (1-\tfrac{1}{e})p?$$
-/
@[category research open, question, AMS 11]
theorem erdos_478 :
Filter.Tendsto
(fun p : ℕ =>
(((Finset.Ico 1 p).image (fun k => Nat.factorial k % p)).card : ℝ) / p)
(Filter.atTop ⊓ Filter.principal {p : ℕ | p.Prime})
(nhds (1 - 1 / Real.exp 1)) := by
sorry
end Erdos478
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos478.erdos_478 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_478 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-478 nosorry submit erdos-478 nosorry/erdos-478/Solution.lean --wait
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.