erinevusvõrrandeid
Difference equations, also known as recurrence relations, are equations that define a sequence recursively. Instead of providing an explicit formula for each term, a difference equation describes how a term in a sequence relates to previous terms. This relationship allows for the generation of the entire sequence once a set of initial conditions is provided.
The general form of a difference equation is often expressed as $y_{n+k} = f(y_n, y_{n+1}, ..., y_{n+k-1}, n)$,
Simple examples include arithmetic progressions, where each term is the previous term plus a constant ($y_{n+1} =