HP Prime for All

English  Русский 

Syntax

seqsolve((Expr or LstExpr),(Var or LstVar),(InitVal or LstInitVal))

Description

Gives the value of a recurrent sequence (u_{n+1}=f(u_n) or u_{n+2}=f(u_{n+1},u_n)...) or of a system of recurrent sequences

Example

seqsolve(2x+n,[x,n],1) returns -n-1+2*2^n

seqsolve — Discussion