This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

FindGeneratingFunction

FindGeneratingFunction
attempts to find a simple generating function in x whose n^(th) series coefficient is .
FindGeneratingFunction
attempts to find a simple generating function whose ^(th) series coefficient is .
  • The sequence elements can be either exact numbers or symbolic expressions.
  • If FindGeneratingFunction cannot find a simple generating function that yields the specified sequence, it returns unevaluated.
FunctionSpaceAutomaticwhere to look for candidate simple generating functions
MethodAutomaticmethod to use
TimeConstraint10how many seconds to search a particular function space or perform a transformation
ValidationLengthAutomaticsequence length used to validate a candidate generating function found
  • FindGeneratingFunction by default uses earlier elements in list to find candidate simple generating functions, then validates the generating functions by looking at later elements.
Find a generating function for a sequence:
A periodic sequence:
Find a generating function for a sequence:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
A periodic sequence:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Rational functions:
Hypergeometric functions:
FindGeneratingFunction works on arbitrary exact numbers or symbolic expressions:
Use FindSequenceFunction to find a generating function of a sequence:
Verify:
New in 7