I´m stuck on a problem. Can anyone help me? The problem: Find the recurrence relation to
$$a_n=a_{n-1}+2a_{n-2}+\cdots+(n-1)a_1+na_0\;(\text{for }n\ge 1),\\a_0=1$$
I guess I have to compare $a_n-a_{n-1}$ with $a_{n-1}-a_{n-2}$?
I´m stuck on a problem. Can anyone help me? The problem: Find the recurrence relation to
$$a_n=a_{n-1}+2a_{n-2}+\cdots+(n-1)a_1+na_0\;(\text{for }n\ge 1),\\a_0=1$$
I guess I have to compare $a_n-a_{n-1}$ with $a_{n-1}-a_{n-2}$?
Hint: In your own hint, substitute $a_n$, $a_{n-1}$, $a_{n-2}$ with the formula that you are given.
What is the recurrence relation that you get?