Petkovšek's algorithm
Petkovšek's algorithm is a computer algebra algorithm that computes a basis of hypergeometric terms solution of its input linear recurrence equation with polynomial coefficients. Equivalently, it computes a first order right factor of linear difference operators with polynomial coefficients. This algorithm is implemented in all the major computer algebra systems.
Examples
- Given the linear recurrence
the algorithm finds two linearly independent hypergeometric terms that are solution:
(Here, denotes Euler's Gamma function.) Note that the second solution is also a binomial coefficient Failed to parse (Missing <code>texvc</code> executable. Please see math/README to configure.): \binom{3n+1}{n} , but it is not the aim of this algorithm to produce binomial expressions.
- Given the sum
- Failed to parse (Missing <code>texvc</code> executable. Please see math/README to configure.): a(n)=\sum_{k=0}^n{\binom{n}{k}^2\binom{n+k}{k}^2},
coming from Apéry's proof of the irrationality of , Zeilberger's algorithm computes the linear recurrence
Given this recurrence, the algorithm does not return any hypergeometric solution, which proves that does not simplify to a hypergeometric term.
References
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
<templatestyles src="Asbox/styles.css"></templatestyles>