help needed for matrix exponentiation problem.

Revision en1, by mahim007, 2017-02-23 13:36:33

problem statement says,

Let

fn = a1 * fn-1 + b1 * fn-2 + c1 * gn-3

gn = a2 * gn-1 + b2 * gn-2 + c2 * fn-3

Find fn % M and gn % M. (% stands for the modulo operation.)

i tried, but can not derive the base matrix.actually i find it difficult when recurrent relation depends on more than one relation.how to derive the base matrix M for this kind of problem where one recurrent relation depends on one or more other recurrent relations?

please help :) :)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English mahim007 2017-02-23 13:36:33 515 Initial revision (published)