Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a40b62b529ae4bc2

Jump to content

P-recursive equation

From Wikipedia, the free encyclopedia

In mathematics a P-recursive equation is a linear equation of sequences where the coefficient sequences can be represented as polynomials. P-recursive equations are linear recurrence equations (or linear recurrence relations or linear difference equations) with polynomial coefficients. These equations play an important role in different areas of mathematics, specifically in combinatorics. The sequences which are solutions of these equations are called holonomic, P-recursive, or D-finite.

From the late 1980s, the first algorithms were developed to find solutions for these equations. Sergei A. Abramov, Marko Petkovšek and Mark van Hoeij described algorithms to find polynomial, rational, hypergeometric and d'Alembertian solutions.

Definition

[edit]

Let be a field of characteristic zero, meaning there is no such that , and .

A sequence is called P-recursive if it satisfies a linear recursive equation with coefficients in meaning there exists a sequence a polynomial such that Linear equations of this form are called P-recursive equations. Solutions to this equation are generally in meaning the completion of , More specifically a equation for a is said to be of order if and only if are non-zero.[1]

Some authors further more require the equation to be homogenous, meaning to be zero, for it to be called P-recursive. Further more a power series is called D-finite if it's coefficients are P-recursive.[2][3]

Closed form solutions

[edit]

Let or equivalently , where , and acts as a linear operator, be a P-recurrence equation. There exist several algorithms which compute solutions of this equation. These algorithms can compute polynomial, rational, hypergeometric and d'Alembertian solutions. The solution of a homogeneous equation is given by the kernel of the linear recurrence operator: . As a subspace of the space of sequences this kernel has a basis.[4] Let be a basis of , then the formal sum for arbitrary constants is called a homogeneous solutiion to , meaning . If is a particular solution of , meaning , then is also a solution of the inhomogeneous problem. This means a general solution is gven by .

Polynomial solutions

[edit]

In the late 1980s Sergei A. Abramov described an algorithm which finds the general polynomial solution of a recurrence equation, i.e. , with a polynomial right-hand side. He (and a few years later Marko Petkovšek) gave a degree bound for polynomial solutions. This way the problem can simply be solved by considering a system of linear equations.[5][6][7] In 1995 Abramov, Bronstein and Petkovšek showed that the polynomial case can be solved more efficiently by considering power series solution of the recurrence equation in a specific power basis (i.e. not the ordinary basis ).[8]

The other algorithms for finding more general solutions (e.g. rational or hypergeometric solutions) also rely on algorithms which compute polynomial solutions.

Rational solutions

[edit]

In 1989 Sergei A. Abramov showed that a general rational solution, i.e. , with polynomial right-hand side , can be found by using the notion of a universal denominator. A universal denominator is a polynomial such that the denominator of every rational solution divides . Abramov showed how this universal denominator can be computed by only using the first and the last coefficient polynomial and . Substituting this universal denominator for the unknown denominator of all rational solutions can be found by computing all polynomial solutions of a transformed equation.[9]

Hypergeometric solution

[edit]

A sequence is called hypergeometric if the ratio of two consecutive terms is a rational function in , i.e. where is the quotient of the polynomial ring . This is the case if and only if the sequence is the solution of a first-order recurrence equation with polynomial coefficients. The set of hypergeometric sequences is not a subspace of the space of sequences as it is not closed under addition.

In 1992 Marko Petkovšek gave an algorithm to get the general hypergeometric solution of a recurrence equation where the right-hand side is the sum of hypergeometric sequences. The algorithm makes use of the Gosper-Petkovšek normal-form of a rational function. With this specific representation it is again sufficient to consider polynomial solutions of a transformed equation.[6]

A different and more efficient approach is due to Mark van Hoeij. Considering the roots of the first and the last coefficient polynomial and – called singularities – one can build a solution step by step making use of the fact that every hypergeometric sequence has a representation of the form for some with for and . Here denotes the Gamma function. Then the have to be singularities of the equation (i.e. roots of or ). Furthermore one can compute bounds for the exponents . For fixed values it is possible to make an ansatz which gives candidates for . For a specific one can again make an ansatz to get the rational function by Abramov's algorithm. Considering all possibilities one gets the general solution of the recurrence equation.[10][11]

D'Alembertian solutions

[edit]

A sequence is called d'Alembertian if for some hypergeometric sequences and means that where denotes the forward fininite difference operator, i.e. . This is the case if and only if there are first-order linear recurrence operators with rational coefficients such that .[7]

1994 Abramov and Petkovšek described an algorithm which computes the general d'Alembertian solution of a recurrence equation. This algorithm computes hypergeometric solutions and reduces the order of the recurrence equation recursively.[12]

Examples

[edit]

Signed permutation matrices

[edit]

The number of signed permutation matrices of size can be described by the function . A signed permutation matrix is a square matrix which has exactly one nonzero entry in every row and in every column. The nonzero entries can be . The sequence is determined by the linear recurrence equation with polynomial coefficients and the initial values . Applying an algorithm to find hypergeometric solutions one can find the general hypergeometric solution for some constant . Also considering the initial values, the sequence describes the number of signed permutation matrices.[13]

Applications

[edit]

Hypergeometric functions

[edit]

A sequence is called hypergeometric if meaning a quotient that reduces to the quotient of two polynomials. A hypergeometric function is a function in the broad class of analytc functions that can be represented as a power series with hypergeometric coefficients such that .[14] This means that that there exists a pair such that giving us , a P-recurrence equation to recursively calculate the coefficients of that function.

References

[edit]
  1. ↑ Hou, Qing-hu; Li, Guojie (November–December 2021). "Log-concavity of P-recursive sequences". Journal of Symbolic Computation. 107: 10 – via Science Direct.
  2. ↑ Matveeva, Anastasia (2025-11-03). "On the integrality of some P-recursive sequences". arXiv.org. p. 4. Retrieved 2026-08-09.
  3. ↑ Abramov. "On summation of P-recursive sequences" (PDF). U.S.S.R. Computational Mathematics and Mathematical Physics: 1.
  4. ↑ If sequences are considered equal if they are equal in almost all terms, then this basis is finite. More on this can be found in the book A=B by Petkovšek, Wilf and Zeilberger.
  5. ↑ Abramov, Sergei A. (1989). "Problems in computer algebra that are connected with a search for polynomial solutions of linear differential and difference equations". Moscow University Computational Mathematics and Cybernetics. 3.
  6. 1 2 Petkovšek, Marko (1992). "Hypergeometric solutions of linear recurrences with polynomial coefficients". Journal of Symbolic Computation. 14 (2–3): 243–264. doi:10.1016/0747-7171(92)90038-6. ISSN 0747-7171.
  7. 1 2 Petkovšek, Marko; Wilf, Herbert S.; Zeilberger, Doron (1996). A=B. A K Peters. ISBN 978-1568810638. OCLC 33898705.
  8. ↑ Abramov, Sergei A.; Bronstein, Manuel; Petkovšek, Marko (1995). "On polynomial solutions of linear operator equations". Proceedings of the 1995 international symposium on Symbolic and algebraic computation - ISSAC '95. ACM. pp. 290–296. CiteSeerX 10.1.1.46.9373. doi:10.1145/220346.220384. ISBN 978-0897916998. S2CID 14963237. {{cite book}}: Cite uses deprecated parameter |citeseerx= (help)
  9. ↑ Abramov, Sergei A. (1989). "Rational solutions of linear differential and difference equations with polynomial coefficients". USSR Computational Mathematics and Mathematical Physics. 29 (6): 7–12. doi:10.1016/s0041-5553(89)80002-3. ISSN 0041-5553.
  10. ↑ van Hoeij, Mark (1999). "Finite singularities and hypergeometric solutions of linear recurrence equations". Journal of Pure and Applied Algebra. 139 (1–3): 109–131. doi:10.1016/s0022-4049(99)00008-0. ISSN 0022-4049.
  11. ↑ Cluzeau, Thomas; van Hoeij, Mark (2006). "Computing Hypergeometric Solutions of Linear Recurrence Equations". Applicable Algebra in Engineering, Communication and Computing. 17 (2): 83–115. doi:10.1007/s00200-005-0192-x. ISSN 0938-1279. S2CID 7496623.
  12. ↑ Abramov, Sergei A.; Petkovšek, Marko (1994). "D'Alembertian solutions of linear differential and difference equations". Proceedings of the international symposium on Symbolic and algebraic computation - ISSAC '94. ACM. pp. 169–174. doi:10.1145/190347.190412. ISBN 978-0897916387. S2CID 2802734.
  13. ↑ "A000165 - OEIS". oeis.org. Retrieved 2018-07-02.
  14. ↑ Weisstein, Eric W. "Hypergeometric Series". mathworld.wolfram.com. Retrieved 2026-08-09.