recurrència
Recurrència is a relation that defines a sequence by expressing each term as a function of one or more preceding terms. The order of a recurrence is the number of previous terms needed to determine the next one. Recurrences can be linear or nonlinear, homogeneous or nonhomogeneous, and may be defined over integers, real numbers, or other structures.
A common example is the Fibonacci recurrence: F(n) = F(n-1) + F(n-2), with initial values F(0) = 0 and
Solving recurrences means finding an explicit formula for a(n) or characterizing its growth. Linear homogeneous recurrences
Recurrences appear in diverse areas such as algorithm analysis, where running times are modeled by recurrences;