Wiki
Wiki

Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.

Updated

Problem 478

../

claims/: The 2 claim pages of Problem 478, one per claimant's result; the problem's standing derives from them.


Statement. Let pp be a prime and

Ap={k!(modp):1≤k<p}.A_p = \{ k! \pmod{p} : 1\leq k<p\}.

Is it true that

∣Ap∣∼(1−1e)p?\lvert A_p\rvert \sim (1-\tfrac{1}{e})p?

Status. Open. The site labels the problem OPEN (page last edited 12 April 2026) and credits no solution; its remarks credit [GSSV24] with the best known lower bound ∣Ap∣≥(2−o(1))p1/2|A_p|\ge(\sqrt2-o(1))p^{1/2}. The standing derives from the claim pages: the accepted partial claim Grebennikov, Sagdeev, Semchankau and Vasilevskii proves that bound in a refereed paper, and the pending partial claim Hu 2026 is a manuscript with a partial Lean formalization proving ∣Ap∣≫p8/15|A_p|\gg p^{8/15}. Neither reaches positive density nor the asymptotic asked for, so the problem is open with no settling or pending full claim.

Source. erdosproblems.com/478, accessed 2026-09-04. Cite as: T. F. Bloom, Erdős Problem #478, https://www.erdosproblems.com/478.

References.

  • [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! mod pn! \bmod p. Rev. Mat. Iberoam. 40 (2024), no. 2, 637-648, doi:10.4171/rmi/1422.
  • [Gu04] Guy, Richard K., Unsolved problems in number theory. Third edition, Problem Books in Mathematics, Springer, New York (2004), xviii+437 pp. Section F11 "Distribution of residues of factorials", printed p. 381: the question of the distribution of 1!,…,p!1!,\ldots,p! modulo pp, "About p/ep/e of the residue classes are not represented", the table of missing residues for p≤37p\le37, and the Rokowska--Schinzel result. Library home: guy_2004_unsolved_problems_number_theory.
  • [KlMu17] Klurman, Oleksiy and Munsch, Marc, Distribution of factorials modulo pp. J. Théor. Nombres Bordeaux (2017), 169-177.
  • [RoSc60] Rokowska, B. and Schinzel, A., Sur un problème de M. Erdős. Elem. Math. (1960), 84-85.
  • [Tr13] T. Trudgian, There are no socialist primes less than 10910^9. arXiv:1310.6403 (2013).

Formalization. The formal-conjectures file FormalConjectures/ErdosProblems/478.lean, added on 2026-09-07, states the question as erdos_478, tagged open, with sorry and no formal proof, at the commit of 2026-09-18 linked here. The partial Lean development accompanying Hu's manuscript, which proves the p8/15p^{8/15} bound from an unformalized incidence hypothesis of Stevens and de Zeeuw, is linked from the claim page at a pinned commit. This corpus has built neither.

Current assessment

Grebennikov, Sagdeev, Semchankau and Vasilevskii [GSSV24] prove ∣Ap∣≥(2+o(1))p|A_p|\ge(\sqrt2+o(1))\sqrt p (claim page), and Hu's manuscript claims ∣Ap∣≫p8/15|A_p|\gg p^{8/15} (claim page).

Klurman and Munsch [KlMu17] (J. Théor. Nombres Bordeaux 29 (2017), 169-177; card Klurman and Munsch 2017), whose results the site's remarks credit, have no claim page because none of them settles an instance of the asymptotic. Their Theorem 2.1 gives at least 3N/2\sqrt{3N/2} distinct values of n! mod pn!\bmod p for H≤n≤H+NH\le n\le H+N once N≫p1/4+ϵN\gg p^{1/4+\epsilon}. Their Theorem 3.1 shows that the mean of p−∣Ap∣p-|A_p| over primes p≤xp\le x is ≫log⁡log⁡x/log⁡log⁡log⁡x\gg\log\log x/\log\log\log x; Theorem 3.2 raises this, under the Generalized Riemann Hypothesis, to ≫x1/4/log⁡x\gg x^{1/4}/\log x, and Corollary 3.3 deduces, under the same hypothesis, infinitely many primes with p−∣Ap∣≫p1/4/log⁡pp-|A_p|\gg p^{1/4}/\log p.

Linked library material

These entries are derived from explicit links on library pages. They are navigation only and do not by themselves record mathematical progress.