Let \mathbb{K} be a
field of characteristic zero and \sum_{k=0}^r p_k(n) \, y (n+k) = f(n) a
recurrence equation of order r with polynomial coefficients p_k \in \mathbb{K} [n], polynomial right-hand side f \in \mathbb{K}[n] and unknown polynomial sequence y(n) \in \mathbb{K}[n]. Furthermore \deg (p) denotes the degree of a polynomial p \in \mathbb{K}[n] (with \deg (0) = - \infty for the zero polynomial) and \text{lc}(p) denotes the leading coefficient of the polynomial. Moreover let\begin{align} q_i &= \sum_{k=i}^r \binom{k}{i} p_k, & b &= \max_{i=0,\dots,r}(\deg (q_i)-i), \\ \alpha(n) &= \sum_{i=0,\dots,r \atop \deg (q_i) - i = b} \text{lc} (q_i) n^{\underline{i}}, & d_\alpha &= \max \{n \in \N \, : \, \alpha(n) = 0 \} \cup \{ - \infty\} \end{align}for i=0,\dots,r where n^{\underline{i}} = n (n-1) \cdots (n-i+1) denotes the
falling factorial and \N the set of nonnegative integers. Then \deg (y) \leq \max \{ \deg(f) - b, -b-1, d_\alpha \}. This is called a degree bound for the polynomial solution y. This bound was shown by Abramov and Petkovšek. == Algorithm ==