๐Ÿงฎ Brain Teaser

The Polynomial Divisibility Chain

Let p(x)p(x) be a polynomial with integer coefficients such that p(0)=0p(0) = 0 and p(1)=1p(1) = 1. Prove that for every positive integer nn, there exists an integer kk such that

p(k)โ‰ก0(modn!)p(k) \equiv 0 \pmod{n!}

Wait โ€” let's make this a concrete and beautiful puzzle first.

The Problem (Putnam 1990, B-1 flavored):

Show that if p(x)p(x) is a polynomial with real coefficients such that p(n)โˆˆZp(n) \in \mathbb{Z} for every integer nโ‰ฅ0n \geq 0, then p(n)โˆˆZp(n) \in \mathbb{Z} for every integer nn (including negative integers).

Bonus observation: Find the "right" basis of polynomials that makes this completely transparent.

integer-valued polynomialsNewton forward differencesbinomial coefficientschange of basisalgebra

Answer: Integer-Valued Polynomials and the Binomial Basis

Key Idea / Intuition

The standard monomials 1,x,x2,โ€ฆ1, x, x^2, \ldots are not the natural basis here. The right basis consists of the binomial coefficients (xk)=x(xโˆ’1)โ‹ฏ(xโˆ’k+1)k!\binom{x}{k} = \frac{x(x-1)\cdots(x-k+1)}{k!}. These are "integer-valued polynomials," and they form a Z\mathbb{Z}-basis for the lattice of all integer-valued polynomials. Once you write p(x)p(x) in this basis, integer-valuedness at non-negative integers forces all coefficients to be integers, and then evaluating at negative integers is automatic.


Formal Proof / Solution

Step 1: The Newton forward difference basis.

Define the polynomials (xk)=x(xโˆ’1)(xโˆ’2)โ‹ฏ(xโˆ’k+1)k!,k=0,1,2,โ€ฆ\binom{x}{k} = \frac{x(x-1)(x-2)\cdots(x-k+1)}{k!}, \quad k = 0, 1, 2, \ldots

These satisfy (nk)โˆˆZ\binom{n}{k} \in \mathbb{Z} for all nโˆˆZn \in \mathbb{Z} (standard combinatorics fact, verified by induction using (nk)=(nโˆ’1kโˆ’1)+(nโˆ’1k)\binom{n}{k} = \binom{n-1}{k-1} + \binom{n-1}{k}, which also works for negative nn).

Step 2: Write p(x)p(x) in this basis.

Any polynomial of degree dd can be written uniquely as p(x)=โˆ‘k=0dck(xk)p(x) = \sum_{k=0}^{d} c_k \binom{x}{k} for some real coefficients ckc_k. The coefficients are recovered by the Newton forward difference formula: ck=ฮ”kp(0)c_k = \Delta^k p(0) where ฮ”\Delta is the forward difference operator ฮ”f(x)=f(x+1)โˆ’f(x)\Delta f(x) = f(x+1) - f(x). Explicitly: ck=โˆ‘j=0k(โˆ’1)kโˆ’j(kj)p(j).c_k = \sum_{j=0}^{k} (-1)^{k-j} \binom{k}{j} p(j).

Step 3: Integrality of coefficients.

Since p(0),p(1),โ€ฆ,p(k)p(0), p(1), \ldots, p(k) are all integers (by hypothesis), the formula above shows ckโˆˆZc_k \in \mathbb{Z} for every kk.

Step 4: Integer-valuedness at all integers.

Now for any nโˆˆZn \in \mathbb{Z} (including negative integers): p(n)=โˆ‘k=0dck(nk).p(n) = \sum_{k=0}^{d} c_k \binom{n}{k}.

Each (nk)โˆˆZ\binom{n}{k} \in \mathbb{Z} for all nโˆˆZn \in \mathbb{Z}, and each ckโˆˆZc_k \in \mathbb{Z}. Therefore p(n)โˆˆZp(n) \in \mathbb{Z}. โ– \blacksquare


Why (nk)โˆˆZ\binom{n}{k} \in \mathbb{Z} for negative nn:

For n=โˆ’1,k=2n = -1, k = 2: (โˆ’12)=(โˆ’1)(โˆ’2)2=1โˆˆZ\binom{-1}{2} = \frac{(-1)(-2)}{2} = 1 \in \mathbb{Z}. In general, (โˆ’nk)=(โˆ’1)k(n+kโˆ’1k),\binom{-n}{k} = (-1)^k \binom{n+k-1}{k}, which is always an integer.


The elegant punchline: The set {(x0),(x1),(x2),โ€ฆ}\left\{\binom{x}{0}, \binom{x}{1}, \binom{x}{2}, \ldots\right\} is a Z\mathbb{Z}-basis for the ring of integer-valued polynomials. Integer-valuedness at {0,1,2,โ€ฆ}\{0,1,2,\ldots\} forces integer coefficients in this basis, which then automatically extends to all of Z\mathbb{Z}.

Source: Mathematical folklore / Putnam training; see also Cahen-Chabert 'Integer-Valued Polynomials'

Type: PutnamSource: Mathematical folklore / Putnam training; see also Cahen-Chabert 'Integer-Valued Polynomials'Edit on GitHub โ†—