Exercise · ZW-RECURRENCE-RELATION-008 · ★★☆ Intermediate

The sequence with \(a_0=1,\ a_1=3\) and \(a_n=2a_{n-1}-a_{n-2}\) satisfies which formula?

Choose one option.

Show answer
  • B. \(a_n=1+2n\)

Explanation

The terms are \(1,3,5,7,\dots\), that is \(1+2n\). \(3^n\) fails at \(a_2=9\ne5\); \(n^2+n+1\) gives 7 at \(n=2\); \(2^n+1\) gives \(a_0=2\).

Study Discrete mathematics in ZWMath →

Review the concept: Recurrence relation

A recurrence relation is an equation that expresses each term \(a_n\) of a sequence in terms of the previous \(k\) terms; with initial values, it determines the whole sequence.

\[a_n=f(a_{n-1},a_{n-2},\dots,a_{n-k})\]

More practice problems: recurrence relation

← ZW-RECURRENCE-RELATION-007 ZW-RECURRENCE-RELATION-009 →