Maxima 5.44.0 Manual: Introduction to solve_rec

Next: Functions and Variables for solve_rec, Previous: solve_rec-pkg, Up: solve_rec-pkg [Contents][Index]

### 84.1 Introduction to solve_rec

`solve_rec` is a package for solving linear recurrences with polynomial coefficients.

A demo is available with `demo("solve_rec");`.

Example:

    (%i1) load("solve_rec")$

    (%i2) solve_rec((n+4)*s[n+2] + s[n+1] - (n+1)*s[n], s[n]);
                                        n
                     %k  (2 n + 3) (- 1)          %k
                       1                            2
    (%o2)       s  = -------------------- + ---------------
                 n     (n + 1) (n + 2)      (n + 1) (n + 2)

·

Categories: Linear recurrences ·Share packages ·Package solve_rec

Next: Functions and Variables for solve_rec, Previous: solve_rec-pkg, Up: solve_rec-pkg [Contents][Index]