Abramov's algorithm
In mathematics, particularly in computer algebra, Abramov's algorithm computes all rational solutions of a linear recurrence equation with polynomial coefficients.[1] The algorithm was published by Sergei A.[src] Abramov in 1989.[1]
In mathematics, particularly in computer algebra, Abramov's algorithm computes all rational solutions of a linear recurrence equation with polynomial coefficients.[1] The algorithm was published by Sergei A.[src] Abramov in 1989.[1] The main concept in Abramov's algorithm is a universal denominator.[src] Let \mathbb{K} be a field of characteristic zero.[src] The dispersion \operatorname{dis} (p,q) of two polynomials p, q \in \mathbb{K}[n] is defined as \operatorname{dis} (p,q) =\max \{ k \in \N \, : \, \deg (\gcd (p(n), q(n+k) )) \geq 1 \} \cup \{ -1 \}, where \N denotes the set of non-negative integers.[src] Therefore the dispersion is the maximum k \in \N such that the polynomial p and the k -times shifted polynomial q have a common factor.[2] It is -1 if such a k does not exist.[src] The dispersion can be computed as the largest non-negative integer root of the resultant \operatorname{res}_n (p(n), q(n+k) ) \in \mathbb{K}[k] .[src] Let \sum_{k=0}^r p_k(n) \, y (n+k) = f(n) be 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 rational sequence solution y (n) \in \mathbb{K}(n) .[1] It is possible to write y (n) = p(n)/q(n) for two relatively prime polynomials p, q \in \mathbb{K}[n] .[src] Let D=\operatorname{dis} (p_r(n-r), p_0 (n) ) and u(n) = \gcd ([p_0 (n+D)]^{\underline{D+1}}, [p_r (n-r)]^{\underline{D+1}}) where [p(n)]^{\underline{k}}=p(n)p(n-1)\cdots p(n-k+1) denotes the falling factorial of a function.[src] Then q(n) divides u(n) .[src] So the polynomial u(n) can be used as a denominator for all rational solutions y(n) and hence it is called a universal denominator.[1] Let again \sum_{k=0}^r p_k(n) \, y (n+k) = f(n) be a recurrence equation with polynomial coefficients and u(n) a universal denominator.[1] After substituting y (n) = z(n)/u(n) for an unknown polynomial z(n) \in \mathbb{K} [n] and setting \ell(n) = \operatorname{lcm}(u(n), \dots, u(n+r)) the recurrence equation is equivalent to \sum_{k=0}^r p_k (n) \frac{z(n+k)}{u(n+k)} \ell(n) = f(n) \ell(n).[src] As the u(n+k) cancel this is a linear recurrence equation with polynomial coefficients which can be solved for an unknown polynomial solution z(n) .[1] There are algorithms to find polynomial solutions.[1] The solutions for z(n) can then be used again to compute the rational solutions y(n) = z(n)/u(n) .[1] algorithm rational_solutions is input: Linear recurrence equation \sum_{k=0}^r p_k(n) \, y (n+k) = f(n), p_k, f \in \mathbb{K}[n], p_0, p_r \neq 0 .[1] output: The general rational solution y if there are any solutions, otherwise false.[1] D = \operatorname{disp} (p_r(n-r), p_0 (n) ) u(n) = \gcd ([p_0 (n+D)]^{\underline{D+1}}, [p_r (n-r)]^{\underline{D+1}}) \ell(n) = \operatorname{lcm}(u(n), \dots, u(n+r)) Solve \sum_{k=0}^r p_k (n) \frac{z(n+k)}{u(n+k)} \ell(n) = f(n) \ell(n) for general polynomial solution z(n) if solution z(n) exists then return general solution y (n) = z(n)/u(n) else return false end if The homogeneous recurrence equation of order 1 (n-1) \, y(n) + (-n-1) \, y(n+1) = 0 over \Q has a rational solution.[1] It can be computed by considering the dispersion D = \operatorname{dis} (p_1 (n-1), p_0 (n) ) = \operatorname{disp} (-n,n-1) = 1.[src] This yields the following universal denominator: u(n) = \gcd ([p_0 (n+1)]^{\underline{2}}, [p_r (n-1)]^{\underline{2}}) = (n-1)n and \ell(n) = \operatorname{lcm} (u(n), u(n+1) ) = (n-1)n(n+1).[src] Multiplying the original recurrence equation with \ell(n) and substituting y(n) = z(n)/u(n) leads to (n-1)(n+1)\, z(n) + (-n-1) (n-1) \, z(n+1) = 0.[src] This equation has the polynomial solution z(n) = c for an arbitrary constant c \in \Q .[src] Using y(n) = z(n) / u(n) the general rational solution is y(n) = \frac{c}{(n-1)n} for arbitrary c \in \Q .[src]
30 sentences · 30 cited inline · 5 references stored
References
- Rational solutions of linear differential and difference equations with polynomial coefficients · retrieved 2026-11-17 · rev 1250450504
Cite this reference
MLA "Rational solutions of linear differential and difference equations with polynomial coefficients." Abramov, Sergei A. 2026-11-17. https://en.wikipedia.org/wiki/Doi_(identifier). Accessed 27 November 2026.
Chicago "Rational solutions of linear differential and difference equations with polynomial coefficients." Abramov, Sergei A. 2026-11-17. https://en.wikipedia.org/wiki/Doi_(identifier).
APA Abramov, Sergei A. (2026). Rational solutions of linear differential and difference equations with polynomial coefficients. Retrieved November 27, 2026, from https://en.wikipedia.org/wiki/Doi_(identifier)
- Fast polynomial dispersion computation and its application to indefinite summation · retrieved 2026-11-17 · rev 1250450504
Cite this reference
MLA "Fast polynomial dispersion computation and its application to indefinite summation." Man, Yiu-Kwong; Wright, Francis J. 2026-11-17. https://en.wikipedia.org/wiki/Doi_(identifier). Accessed 27 November 2026.
Chicago "Fast polynomial dispersion computation and its application to indefinite summation." Man, Yiu-Kwong; Wright, Francis J. 2026-11-17. https://en.wikipedia.org/wiki/Doi_(identifier).
APA Man, Yiu-Kwong; Wright, Francis J. (2026). Fast polynomial dispersion computation and its application to indefinite summation. Retrieved November 27, 2026, from https://en.wikipedia.org/wiki/Doi_(identifier)
- Gerhard, Jürgen (2005). Modular Algorithms in Symbolic Summation and Symbolic Integration . Lecture Notes in Computer Science. Vol. 3218. doi : 10.1007/b104035 . ISBN 978-3-540-24061-7 . ISSN 0302-9743 . Wikipedia revision 1250450504, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1250450504
Cite this reference
MLA "Gerhard, Jürgen (2005). Modular Algorithms in Symbolic Summation and Symbolic Integration . Lecture Notes in Computer Science. Vol. 3218. doi : 10.1007/b104035 . ISBN 978-3-540-24061-7 . ISSN 0302-9743 . Wikipedia revision 1250450504, retrieved 2026-11-18." Gerhard, Jürgen (2005). 2026-11-17. https://en.wikipedia.org/wiki/Doi_(identifier). Accessed 27 November 2026.
Chicago "Gerhard, Jürgen (2005). Modular Algorithms in Symbolic Summation and Symbolic Integration . Lecture Notes in Computer Science. Vol. 3218. doi : 10.1007/b104035 . ISBN 978-3-540-24061-7 . ISSN 0302-9743 . Wikipedia revision 1250450504, retrieved 2026-11-18." Gerhard, Jürgen (2005). 2026-11-17. https://en.wikipedia.org/wiki/Doi_(identifier).
APA Gerhard, Jürgen (2005). (2026). Gerhard, Jürgen (2005). Modular Algorithms in Symbolic Summation and Symbolic Integration . Lecture Notes in Computer Science. Vol. 3218. doi : 10.1007/b104035 . ISBN 978-3-540-24061-7 . ISSN 0302-9743 . Wikipedia revision 1250450504, retrieved 2026-11-18. Retrieved November 27, 2026, from https://en.wikipedia.org/wiki/Doi_(identifier)
- Converging to Gosper's Algorithm · retrieved 2026-11-17 · rev 1250450504
Cite this reference
MLA "Converging to Gosper's Algorithm." Chen, William Y. 2026-11-17. https://en.wikipedia.org/wiki/ArXiv_(identifier). Accessed 27 November 2026.
Chicago "Converging to Gosper's Algorithm." Chen, William Y. 2026-11-17. https://en.wikipedia.org/wiki/ArXiv_(identifier).
APA Chen, William Y. (2026). Converging to Gosper's Algorithm. Retrieved November 27, 2026, from https://en.wikipedia.org/wiki/ArXiv_(identifier)
- Rational solutions of linear difference and q -difference equations with polynomial coefficients · retrieved 2026-11-17 · rev 1250450504
Cite this reference
MLA "Rational solutions of linear difference and q -difference equations with polynomial coefficients." a b Abramov, Sergei A. 2026-11-17. http://dl.acm.org/citation.cfm?id=220346.220383. Accessed 27 November 2026.
Chicago "Rational solutions of linear difference and q -difference equations with polynomial coefficients." a b Abramov, Sergei A. 2026-11-17. http://dl.acm.org/citation.cfm?id=220346.220383.
APA a b Abramov, Sergei A. (2026). Rational solutions of linear difference and q -difference equations with polynomial coefficients. Retrieved November 27, 2026, from http://dl.acm.org/citation.cfm?id=220346.220383
Cite this article
MLA
"Abramov's algorithm." encyclopegia.org, 2024, https://encyclopegia.org/wiki/abramov-s-algorithm. Accessed 27 November 2026.
Chicago
"Abramov's algorithm." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/abramov-s-algorithm.
APA
encyclopegia.org. (2024). Abramov's algorithm. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/abramov-s-algorithm
Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON