If the roots of its characteristic polynomial of a linear recurrence are distinct, . This identity follows by checking the two initial conditions and the linear recurrence relation. At a repeated root , the corresponding formula is for .
New to topics? Read the docs here!