For fixed parameters , the two Lucas sequences are the solutions of the linear recurrence relation with initial values and . They are the Lucas U-sequence and the Lucas V-sequence. The choice gives the Fibonacci sequence and the ordinary Lucas numbers.
If are distinct roots of , direct substitution gives and . The recurrence itself remains meaningful when the roots coincide or division is unavailable, so it is the safest definition over a general ring. Fast doubling for Lucas sequences exploits these two related solutions to compute distant terms.
For roots of , one has , including the repeated-root case. This gives immediately. The identity relates it to the Lucas U-sequence without requiring division.
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 .
Lucas sequences satisfyThese identities follow from the root formulas for the Lucas U-sequence and Lucas V-sequence, or from their recurrence, so they are polynomial identities valid over a commutative ring. They compute terms with doubled indices from terms with about half the index.
A division-free algorithm carries . Put , , and . For an even target return ; for an odd target return . Starting from and following the binary digits of the target uses ring operations. At this is the usual Fibonacci doubling method, and it also works in modular arithmetic.