Theorem 2.1 (maximal prime-power survival). Let
𝑀 ≥2, let 𝑝 be a prime dividing 𝐿𝑀, and put 𝑒 =𝑣𝑝(𝐿𝑀). Let 𝐽 ={𝑛 :2 ≤𝑛 ≤𝑀, 𝑣𝑝(𝑑𝑛) =𝑒} and
write 𝑑𝑛 =𝑝𝑒𝑢𝑛 for 𝑛 ∈𝐽. Then, with inverses in 𝔽𝑝,
𝑣𝑝(den(𝐻𝑀))=𝑒⟺∑𝑛∈𝐽𝑢−1𝑛≠0in 𝔽𝑝.(8)
Proof. Write 𝐿𝑀 =𝑝𝑒𝑊
with 𝑝 ∤𝑊. If 𝑣𝑝(𝑑𝑛) <𝑒, then 𝑝 ∣𝐿𝑀/𝑑𝑛. If 𝑛 ∈𝐽, then 𝑢𝑛(𝐿𝑀/𝑑𝑛) =𝑊, so 𝐿𝑀/𝑑𝑛 ≡𝑊𝑢−1𝑛(mod𝑝). Summing
over 2 ≤𝑛 ≤𝑀 gives
𝐴𝑀≡𝐿𝑀𝑝𝑒∑𝑛∈𝐽𝑢−1𝑛(mod𝑝).(9)
Finally den(𝐻𝑀) =𝐿𝑀/gcd(𝐴𝑀,𝐿𝑀),
whose 𝑝-valuation is 𝑒 exactly when 𝑝 ∤𝐴𝑀. Since 𝑊 is invertible modulo 𝑝, that is exactly the stated
condition. ◻
Two complete cancellations.
A unique maximal exponent makes the residue sum a single nonzero
term, so the condition holds automatically. With several maximal terms
it can fail. The following examples show cancellation in the factorial
sequence itself, not just in arbitrary rational sums. Take 𝑀 =𝑝 −1. The table lists every index with
𝑝 ∣𝑑𝑛, and every one has
valuation exactly one.
𝑝 |
indices 𝑛 |
𝑑𝑛/𝑝(mod𝑝) |
inverses modulo 𝑝 |
| 139 |
69, 122, 137 |
6, 49, 73 |
116, 122, 40 |
| 2593 |
349, 2243, 2591 |
1508, 1566, 1678 |
1367, 356, 870 |
The inverse sums are 278 =2 ⋅139 and 2593. By Theorem 2.1, 139 ∤den(𝐻138) and
2593 ∤den(𝐻2592):
each prime divides the common denominator of its partial sum and
vanishes from its reduced denominator. The listed indices and their
valuations are checked by the recurrence
𝑟1=1,𝑟𝑛≡𝑛𝑟𝑛−1(mod𝑝2),0≤𝑟𝑛<𝑝2,
run through 𝑛 =𝑝 −1. At an index with 𝑟𝑛 ≡1(mod𝑝), the cofactor is (𝑟𝑛 −1)/𝑝 modulo 𝑝. Valuation at least two would give
𝑟𝑛 =1, which occurs for neither
prime among the tested indices 2 ≤𝑛 ≤𝑝 −1. That enumeration is a finite calculation separate from the
theorem.
The recurrence is run modulo 𝑝2, not merely modulo 𝑝: reduction modulo 𝑝 would find the indices with 𝑝 ∣𝑛! −1, but would not determine
whether 𝑝2 ∣𝑛! −1. This is why
the zero inverse sums prove complete cancellation in these examples.
For each prime 𝑝 ≥3, the
exponent 𝑣𝑝(den(𝐻𝑀)) is constant
for 𝑀 ≥max(2,𝑝 −2). Wilson’s
theorem gives (𝑝 −1)! −1 ≡ −2(mod𝑝), and 𝑛! −1 ≡ −1(mod𝑝)
for 𝑛 ≥𝑝. Hence every summand
after index 𝑝 −2 has denominator
coprime to 𝑝. If a reduced fraction
𝑎/𝑏 is followed by a summand 1/𝑑 with 𝑝 ∤𝑑, their sum has numerator 𝑎𝑑 +𝑏 over 𝑏𝑑. When 𝑝 ∣𝑏, this numerator is nonzero modulo
𝑝, so the exponent of 𝑝 in the reduced denominator stays the
same. When 𝑝 ∤𝑏, the new
denominator remains coprime to 𝑝.
Consequently, the two cancellations persist in every later partial sum:
139∤den(𝐻𝑀)(𝑀≥137),2593∤den(𝐻𝑀)(𝑀≥2591).
The primes
still divide the corresponding common denominators 𝐿𝑀. These are assertions about the
partial sums; they do not constrain a hypothetical denominator of their
real limit 𝑆 without a further
approximation estimate.
We next ask where a prime first divides a denominator 𝑑𝑚. This means it divides none of 𝑑2,…,𝑑𝑚−1; it may still divide a
later denominator, so uniqueness at its first occurrence gives no
uniqueness in every larger block.
Proposition 2.2 (cofinal first prime occurrences).
For every integer 𝐵 ≥0 there
are a prime 𝑞 and an integer 𝑚 >𝐵 with 𝑚 <𝑞, 𝑞 ∣𝑚! −1 and gcd(𝑞,𝑘! −1) =1
for every 𝑘 with 2 ≤𝑘 <𝑚.
Proof. Choose a prime 𝑞 ≥𝐵! +5. Wilson’s theorem gives (𝑞 −2)! ≡1(mod𝑞), so there is a least
index 𝑚 ≥2 with 𝑞 ∣𝑚! −1, and 𝑚 ≤𝑞 −2. If 𝑚 ≤𝐵, then 𝑞 ≤𝑚! −1 ≤𝐵! −1, contradicting the
choice of 𝑞. Hence 𝑚 >𝐵, and minimality gives the
coprimality assertions. ◻
The construction proves cofinality of first occurrences, but not the
inequality involving 𝑞 needed for
the additional two-factor test in §5. The sufficient
tail inequality there does not require choosing a prime 𝑞. Wilson reflection limits what can be
inferred from a large prime factor alone: for odd 2 ≤𝑛 <𝑞 with 𝑞 ∣𝑛! −1, the identity (𝑞 −1 −𝑛)! 𝑛! ≡( −1)𝑛+1(mod𝑞) gives
the reflected congruence at 𝑞 −𝑛 −1.
It gives a second summand denominator only when 𝑞 ≠2𝑛 +1 and 𝑛 ≤𝑞 −3. At the Wilson endpoint 𝑛 =𝑞 −2, it instead returns index 1, where 1! −1 =0 is not a denominator of this
series. The reflection identity is classical; see Stewart [8].