For any prime power q and positive integer n, define the Kravchuk polynomial K k ( x ; n , q ) = K k ( x ) = ∑ j = 0 k ( − 1 ) j ( q − 1 ) k − j ( x j ) ( n − x k − j ) = ∑ j = 0 k ( − 1 ) j ( q − 1 ) k − j x j _ j ! ( n − x ) k − j _ ( k − j ) ! {\displaystyle {\begin{aligned}{\mathcal {K}}_{k}(x;n,q)={\mathcal {K}}_{k}(x)={}&\sum _{j=0}^{k}(-1)^{j}(q-1)^{k-j}{\binom {x}{j}}{\binom {n-x}{k-j}}\\={}&\sum _{j=0}^{k}(-1)^{j}(q-1)^{k-j}{\frac {x^{\underline {j}}}{j!}}{\frac {(n-x)^{\underline {k-j}}}{(k-j)!}}\end{aligned}}} for k = 0 , 1 , … , n {\displaystyle k=0,1,\ldots ,n} . In the second line, the factors depending on x {\displaystyle x} have been rewritten in terms of falling factorials, to aid readers uncomfortable with non-integer arguments of binomial coefficients.
The Kravchuk polynomial has the following alternative expressions:
Note that there is more that merely recombination of material from the two binomial coefficients separating these from the above definition. In these formulae, only one term of the sum has degree k {\displaystyle k} , whereas in the definition all terms have degree k {\displaystyle k} .
For integers i , k ≥ 0 {\displaystyle i,k\geq 0} , we have that
For non-negative integers r, s,
The generating series of Kravchuk polynomials is given as below. Here z {\displaystyle z} is a formal variable.
The Kravchuk polynomials satisfy the three-term recurrence relation