find a generating function from a list
find a differential equation satisfied by the generating function
guessgf(L, x, [typelist])
guesseqn(L, y(x), [typelist])
(optional) list of generating function types
The guessgf(L, x) command finds a closed form for the generating function for the series defined by L.
You should specify as many terms as possible in the list L.
If typelist is specified, it indicates the type of generating functions, for example, ordinary (ogf) or exponential (egf), to try. If typelist contains more than one element, these types are considered in the order that they are listed. For a complete list of available generating function types, see gftypes.
If typelist is not specified, the default are ordinary and exponential generating functions, specified by the parameter optionsgf=ogf,egf.
The guessgf function does the following.
Tries to find a rational function using listtoratpoly.
Tries to find hypergeometric functions using listtohypergeom.
Tries to find a linear differential equation with polynomial coefficients using listtodiffeq which is then passed to dsolve.
The guesseqn(L, y(x)) finds an equation satisfied by the generating function. The guesseqn function might succeed even if the guessgf function fails because it does not attempt to solve the equation in closed-form.
l ≔ 1,4,36,400,4900,63504,853776,11778624,165636900,2363904400,34134779536,497634306624,7312459672336:
Download Help Document