Find formula of sequence: 7, 19, 61, 217, 817

asked by guest
on Nov 19, 2024 at 5:20 am



MathBot Answer:

$$7,19,61,217,817,...$$This infinite sequence is a recurrent sequence. The nth term rule for the sequence is $a_n=\frac{3 \cdot 2^{n}}{2} + \frac{3 \cdot 4^{n}}{4} + 1$, where $n>0$. The recursive formula is $a_n=6 a_{n-1} - 8 a_{n-2} + 3$, where $n>2$, $a_{1}=7$, and $a_{2}=19$.


RECURSIVE FORMULA

Linear Recurrence Relation

[View Steps]

Given a sequence of m terms, the recursive formula is of the form $$a_n=x_0 + x_1 a_{n-1} + ... + x_k a_{n-k}, \text{where } 1 \leq k \leq \left \lfloor \frac{m-1}{2} \right \rfloor$$

Using all the given terms, solve the systems of equations for $x_i$ when $k=1,...,\left \lfloor \frac{m-1}{2} \right \rfloor$. If $x_i$ is not found for any $k$, a recursive formula cannot be found using this method.


When $k=1$: $$a_n=x_0 + x_1 a_{n-1}, n > 1$$ Solve for $x_0$ and $x_1$: $$\begin{aligned} a_2&=x_0 + x_1 a_1 \\ a_3&=x_0 + x_1 a_2 \\ \vdots \\ a_m&=x_0 + x_1 a_{m-1}\end{aligned}$$

EXPLICIT FORMULA

Non-Homogeneous Solution

[View Steps]

Given a non-homogeneous linear recurrence relation in the form $$a_n=C_1 a_{n-1} + C_2 a_{n-2} + ... + C_k a_{n-k} + f(n), \text{where } f(n)\neq0$$the closed formula where $a_h$ is the general solution of $C_1 a_{n-1} + C_2 a_{n-2} + ... + C_k a_{n-k}$ (homogeneous) and $a_p$ is the particular solution of $f(n)$ is $$a_n=a_h + a_p$$

To find $a_h$, use the Characteristic Root Technique. [ show ]

To find $a_p$, find an appropriate trial solution. [ show ]

The closed formula where $c_i$ are coefficients determined by the initial conditions is $$a_n=c_1 f_1(n) + c_2 f_2(n) + ... + c_k f_k(n) + t(n)$$

Solve the systems of equations to find $c_i$: $$\begin{aligned}a_1 &= c_1 f_1(1) + c_2 f_2(1) + ... + c_k f_k(1) + t(1) \\ a_2 &= c_1 f_1(2) + c_2 f_2(2) + ... + c_k f_k(2) + t(2) \\ \vdots \\ a_k &= c_1 f_1(k) + c_2 f_2(k) + ... + c_k f_k(k) + t(k) \end{aligned}$$