Maths WorkshopMaths problems with full solutions
Exercise 1552Combinatorics › Binomial coefficientsM1Added 3 Nov 2026

Stirling numbers and binomials

#Stirling#binomial#identity

Statement

Show that xn=∑k=0nS(n,k)x(x−1)⋯(x−k+1)x^n=\sum_{k=0}^{n}S(n,k)x(x-1)\cdots(x-k+1) where S(n,k)S(n,k) is the Stirling number of the second kind.

Hint

Both sides count functions from an nn-set to an xx-set, classified by the size of the image.

Show solutionHide solution

Solution

Count 1. xnx^n functions from nn-set to xx-set.

Count 2. Classify by image size kk. Choose the image ((xk)\binom{x}{k} ways), then a surjection onto it (S(n,k)⋅k!S(n,k)\cdot k! ways). Total: ∑k(xk)k! S(n,k)=∑kS(n,k) x(x−1)⋯(x−k+1)\sum_k\binom{x}{k}k!\,S(n,k)=\sum_k S(n,k)\,x(x-1)\cdots(x-k+1).

Conclusion. xn=∑kS(n,k)xk‾x^n=\sum_k S(n,k)x^{\underline{k}}.