Answer: The Polynomial That Is Always Divisible by n!
Key Idea / Intuition
The product โi<jโ(ajโโaiโ) looks like a Vandermonde determinant โ and the key insight is that when you evaluate a Vandermonde determinant at integer arguments, you can relate it to a product of binomial coefficients, each of which is an integer. The ratio of the Vandermonde determinant to 1!โ 2!โฏ(nโ1)! is itself a product of integers (it counts something combinatorially), which forces the divisibility.
More concretely: sort the aiโ and compare the product to the "standard" Vandermonde at {0,1,2,โฆ,nโ1}. The standard one equals โk=0nโ1โk!=1!โ 2!โฏ(nโ1)!, and for any integer inputs the ratio is an integer.
Formal Proof / Solution
Step 1: Reduction to distinct values.
If any two aiโ are equal, the product is 0, which is divisible by anything. So assume the aiโ are distinct integers.
Step 2: The Vandermonde connection.
Order the integers: let b1โ<b2โ<โฏ<bnโ be a1โ,โฆ,anโ in increasing order (the absolute value of the product is unchanged by permutation). Then
โ1โคi<jโคnโ(bjโโbiโ)>0.
Step 3: Express as a product of binomial coefficients.
Define the falling-factorial / binomial counting as follows. We claim:
Here is why. The Vandermonde determinant satisfies
det[bijโ1โ]i,jโ=โi<jโ(bjโโbiโ).
Now consider the matrix M with entries Mijโ=(jโ1biโโ). Since (kbโ)=k!bkโโlowerย terms, the column operations converting [bijโ1โ] to [(jโ1biโโ)] multiply column j by (jโ1)!1โ. Hence
The matrix [(jโ1biโโ)] has integer entries (since each biโ is an integer and (kmโ)โZ for all integers mโฅ0 and kโฅ0; for negative integers one checks (kmโ) is still an integer). Therefore its determinant is an integer.
Sanity check with n=3, (a1โ,a2โ,a3โ)=(0,1,3):โi<jโ(ajโโaiโ)=(1โ0)(3โ0)(3โ1)=6,1!โ 2!=2.2โฃ6.โ
Why this is beautiful: The quantity 1!โฏ(nโ1)!โi<jโ(bjโโbiโ)โ secretly counts the number of Standard Young Tableaux of staircase shape, or equivalently appears in the hook-length formula โ the divisibility is not an accident but reflects deep combinatorial structure.