recurrence relation solution

join shbcf.ru