Mathematica > Mathematics and Algorithms > Calculus > Discrete Calculus >
Mathematica > Mathematics and Algorithms > Discrete Mathematics > Discrete Calculus >

FindSequenceFunction

FindSequenceFunction[{a1, a2, a3, ...}]
attempts to find a simple function that yields the sequence an when given successive integer arguments.
FindSequenceFunction[{{n1, a1}, {n2, a2}, ...}]
attempts to find a simple function that yields ai when given argument ni.
FindSequenceFunction[list, n]
gives the function applied to n.
  • The sequence elements an can be either exact numbers or symbolic expressions.
  • If FindSequenceFunction cannot find a simple function that yields the specified sequence, it returns unevaluated.
  • The following options can be used:
FunctionSpaceAutomaticwhere to look for candidate simple functions
MethodAutomaticmethod to use
TimeConstraint10how many seconds to search a particular function space or perform a transformation
ValidationLengthAutomaticsequence length used to validate a candidate function found
  • FindSequenceFunction[list] by default uses earlier elements in list to find candidate simple functions, then validates the functions by looking at later elements.
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team