Gosper's algorithm
Builds on Rational functionPolynomial greatest common divisorRecurrence relation
Definition
Let be a hypergeometric term in over a field of characteristic . This means that and that is a rational function of . Gosper's algorithm takes and either returns a hypergeometric term with , or reports that no such term exists. It runs as follows.
- Write with polynomials such that for every integer (a polynomial gcd condition).
- Search for a polynomial with using a bound on its degree computed from , , and linear algebra on its coefficients.
- If such an exists, return . Otherwise report that has no hypergeometric indefinite sum.
Remarks
Check of step 3: with , one has , and by step 2. Gosper's theorem says that the method is complete: if some hypergeometric works, then is rational and the equation in step 2 has a polynomial solution. Example: has ; take , , , which satisfy the gcd condition. The equation has the solution , so for , and indeed . Non-example: for the algorithm reports failure, since the partial sums are harmonic numbers, which are not a hypergeometric term. The equation of step 2 is a linear recurrence with polynomial coefficients for the unknown polynomial .
Reading path
To understand this page from the ground up, read these 4 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Polynomial greatest common divisor concept
- Rational function concept
- Recurrence relation concept
- Gosper's algorithm definition
Further reading
About this page
| Tag | WTXMRG6WR4 |
|---|---|
| URI | m2://WTXMRG6WR4 |
| Kind | definition |
| Writing | W0 stub |
| MSC | 33F10, 68W30, 39A10 |
| Defines | Gosper's algorithm |
| Uses | Rational function, Polynomial greatest common divisor, Recurrence relation |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.