https://compgeek.co.in/solving-recurrence-relation/
Solving Recurrence Relation