Solution to the Erdos problem on distinct residues of factorials
Pith reviewed 2026-05-08 03:17 UTC · model grok-4.3
The pith
There is no prime number p > 5 such that the residues of 2!, 3!, …, (p-1)! modulo p are all distinct.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
There is no prime number p>5 such that the residues of 2!, 3!,…, (p-1)! modulo p all are distinct. The short note gives the negative answer to this question in an elementary way.
What carries the argument
An elementary proof that identifies duplicate residues among the factorials using basic congruences and Wilson's theorem.
If this is right
- For every prime p > 5, at least two values among 2!, 3!, ..., (p-1)! are congruent modulo p.
- The map sending k to k! mod p fails to be injective on the integers from 2 to p-1.
- Erdős's existence question receives a uniform negative answer for all primes larger than 5.
Where Pith is reading between the lines
- The same style of argument might be tested on the number of distinct values taken by the factorial sequence modulo p for large primes.
- This settles one concrete instance of questions about when iterated products modulo a prime must repeat values.
- Computational checks for small primes p>5 can illustrate the specific pairs that collide under the result.
Load-bearing premise
The elementary proof applies to every prime p>5 with no exceptions arising from special cases or additional modular constraints.
What would settle it
One could compute the set of residues of k! modulo p for k ranging from 2 to p-1 for a prime p greater than 5 and verify whether the p-2 values are all different; the existence of any such p would falsify the claim.
read the original abstract
Paul Erdos posed the following question: Is there a prime number $p>5$ such that the residues of $2!$, $3!$,\ldots, $(p-1)!$ modulo $p$ all are distinct. In this short note, we give the negative answer on this question in an elementary way.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript gives an elementary proof that no prime p>5 has the property that the residues of 2!, 3!, …, (p-1)! modulo p are all distinct. It invokes Wilson's theorem to obtain the congruences (p-2)! ≡ 1 (mod p) and (p-1)! ≡ -1 (mod p), then exhibits an explicit pair of colliding residues that holds for every such prime without further case analysis.
Significance. The result supplies a uniform negative answer to an Erdős question. The proof is short, elementary, and free of ad-hoc parameters or additional modular hypotheses, which strengthens its value as a self-contained resolution.
minor comments (2)
- The abstract states the negative answer but does not name Wilson's theorem; adding this one-sentence reference would improve immediate readability.
- Since the note is very short, a single numbered section or a brief paragraph stating the two Wilson congruences before the collision argument would make the logical flow clearer for readers.
Simulated Author's Rebuttal
We thank the referee for their positive summary of our manuscript and for recommending acceptance. We are pleased that the elementary nature of the proof and its uniform resolution of the Erdős question were noted.
Circularity Check
No significant circularity identified
full rationale
The paper presents an elementary proof that for any prime p > 5 the residues of 2! through (p-1)! modulo p cannot all be distinct. It invokes the standard Wilson's theorem to obtain the congruences (p-2)! ≡ 1 (mod p) and (p-1)! ≡ -1 (mod p), then directly exhibits an explicit pair of equal residues among the factorials. This argument relies on an external, well-established theorem and uniform modular arithmetic that holds for all such primes without case distinctions or fitted parameters. No step reduces by construction to a self-definition, a renamed input, or a load-bearing self-citation; the derivation is therefore self-contained against external benchmarks.
Axiom & Free-Parameter Ledger
axioms (1)
- standard math Standard properties of factorials and modular arithmetic hold for primes p>5
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.