Exact Factorial-Square Divisibility and Prime Powers
Abstract
Exact factorial-square divisibility characterizes prime powers.
Theorem 1.1 (The exact exponent is characterized by prime powers).
Proof. Machine-checked in Lean as D5/S1/Recurrence/Invariants/FactorialSquareDivisibilityPrimePower.factorial_square_exact_divisibility_iff_prime_power (✓ std3). ∎
Resolves. Problems/oeis-a096127-factorial-square-divisibility-prime-power (proved) by D5/S1/Recurrence/Invariants/FactorialSquareDivisibilityPrimePower.factorial_square_exact_divisibility_iff_prime_power.
Citation. Amarnath Murthy (2004). OEIS A096127, a(n) is the largest k such that (n^2)!/(n!)^k is an integer. URL: https://oeis.org/A096127.
Commentary.
Legendre’s formula converts each factorial divisibility into a prime-valuation inequality. Base-p digit-sum submultiplicativity bounds the valuation for exponent n+1 and distinguishes exponent n+2 exactly when n is a prime power.
References
- Truth anchor:
D5/S1/Recurrence/Invariants/FactorialSquareDivisibilityPrimePower.factorial_square_exact_divisibility_iff_prime_power