I stumbled on this recurrence relation while looking at a kind of growth process. Unfortunately I haven't seen anything like this since high school! Is there a way to solve this?
$a_2 = 0$, and for $i=3,4,5,\dots$
$$a_i = \left(1-\frac{1}{i-1}\right)a_{i-1} + \frac{4}{(i-1)(i-2)}$$
The first few terms are $a_2=0$, $a_3=2$, $a_4=2$, $a_5=11/6$, $a_6=5/3$, $a_7=137/90$
Thanks!