class_docstr: A Holonomic Sequence is a type of sequence satisfying a linear homogeneous
  recurrence relation with Polynomial coefficients. Alternatively, A sequence
  is Holonomic if and only if its generating function is a Holonomic Function.
class_docstr_tok: ["A","Holonomic","Sequence","is","a","type","of","sequence","satisfying","a","linear","homogeneous","recurrence","relation","with","Polynomial","coefficients",".","Alternatively",",","A","sequence","is","Holonomic","if","and","only","if","its","generating","function","is","a","Holonomic","Function","."]
code: def __init__(self, recurrence, u0=[]):
      self.recurrence = recurrence
      if not isinstance(u0, list):
          self.u0 = [u0]
      else:
          self.u0 = u0
  
      if len(self.u0) == 0:
          self._have_init_cond = False
      else:
          self._have_init_cond = True
      self.n = recurrence.parent.base.gens[0]
  
imports: from sympy.core.singleton import S
  from sympy.core.symbol import Symbol, symbols
  from sympy.printing import sstr
  from sympy.core.sympify import sympify
label_desc: Use image node_id 1 to create a new HolonomicSequence object  with example: obj = HolonomicSequence(recurrence, u0)