How to find explicit formula using backwards iteration

827 Views Asked by At

Sequencing

For this problem I tried to solve it by iterating downward so:

an = an-1 - n

an-1 = 2*(2an-2 - (n-1)) - n = 4an-2 - 3n + 2

an-2 = 2*(4an-3 - 3n + 2) - n = 8an-3 - 7n + 4

an-3 = 2*(8an-4 - 7n + 4) - n = 16an-4 - 15n + 8

Then I figured that this could be rewritten in this format:

2k+1an-k - (2k+1 - 1)n + 2k

And then I believe that I am supposed to rewrite this equation using the sigma notation, but I'm not sure if I did the steps correctly because I don't understand how to rewrite what I have found in the form outline in the problem.

1

There are 1 best solutions below

0
On BEST ANSWER

Hint:

$$\begin{align} a_n&=2a_{n-1}-n\\ 2a_{n-1}&=4a_{n-2}-2(n-1)\\ 4a_{n-2}&=8a_{n-3}-4(n-2)\\ \vdots\\ 2^{n-1}a_{1}&=2^{n}a_{0}-2^{n-1}(1)\\ \end{align}$$ by summing all steps

$$a_n=2^{n}a_0-\sum_{i=0}^{n-1}2^{i}(n-i)$$

$$a_n=3\cdot2^{n}-\sum_{i=0}^{n-1}n2^{i}+\sum_{i=0}^{n-1}i2^{i}$$

$$a_n=3\cdot2^{n}-n\sum_{i=0}^{n-1}2^{i}+\sum_{i=0}^{n-1}i2^{i}$$