1. Matrix Exponentiation - More Recurrence Relation #

Created Saturday 01 August 2020

  1. af(n-1)+bf(n-2)

  1. Adding a constant

  1. Having a difference of 2. We need to keep f(n-2) as well.

  1. All in one

  1. For piece wise, do the matrix piece wise(if statement)