Lucas sequence
From Wikipedia, the free encyclopedia
In mathematics, the Lucas sequences Un(P,Q) and Vn(P,Q) are integer sequences that satisfy the recurrence relation xn = Pxn-1 - Qxn-2 where P and Q are integers. Given integers P and Q, the recurrence relation together with initial values x0 and x1 defines a unique sequence which is a linear combination of the Lucas sequences Un(P,Q) and Vn(P,Q) defined below.
Famous examples of Lucas sequences include the Fibonacci numbers, Pell numbers, Lucas numbers and Jacobsthal numbers. Lucas sequences are named after the French mathematician Édouard Lucas.
Contents |
[edit] Recurrence relations
Given two integer parameters P and Q
the Lucas sequences of the first kind Un(P,Q) and of the second kind Vn(P,Q) are defined by the recurrence relations
and
Hence Un and Vn each satisfies the recurrence relation
and the most general solution to this recurrence relation is
where s and t are constants which are defined uniquely by the initial values x0 and x1 as follows:
It is not hard to show that for n > 0,
![]() |
![]() |
![]() |
|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
[edit] Algebraic relations
The characteristic equation of the recurrence relation
is:
It has the discriminant D = P2 − 4Q and the roots:
Note that the sequence an and the sequence bn also satisfy the recurrence relation. However these might not be integer sequences.
[edit] Distinct roots
When
, a and b are distinct and one quickly verifies that
.
It follows that the terms of Lucas sequences can be expressed in terms of a and b as follows
[edit] Repeated root
The case D = 0 occurs exactly when P = 2S and Q = S2 for some integer S so that a = b = S. In this case one easily finds that
.
[edit] Other relations
The numbers in Lucas sequences satisfy relations that are generalisations of the relations between Fibonacci numbers and Lucas numbers. For example:
| General | P=1, Q=-1 |
|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Among the consequences is that Ukm is a multiple of Um so that Un can only be prime in case n is.
Another is that fast computation of Un for large values of n is possible using a kind of Exponentiation by squaring.
These two facts together allow the Lucas-Lehmer primality test.
[edit] Specific names
The Lucas sequences for some values of P and Q have specific names:
- Un(1,−1) : Fibonacci numbers
- Vn(1,−1) : Lucas numbers
- Un(2,−1) : Pell numbers
- Vn(2,−1) : Companion Pell numbers or Pell-Lucas numbers
- Un(1,−2) : Jacobsthal numbers
[edit] Applications
- LUC is a cryptosystem based on Lucas sequences.
[edit] References
- Hans Riesel (1994). Prime Numbers and Computer Methods for Factorization. Progress in Mathematics. 126 (2nd ed ed.). Birkhäuser. pp. 107–121. ISBN 0-8176-3743-5.
- Ribenboim, Paulo (2000). My Numbers, My Friends: Popular Lectures on Number Theory. New York: Springer-Verlag. pp. 1–50. ISBN 0-387-98911-0.
- Arthur T. Benjamin; Jennifer J. Quinn (2003). Proofs that Really Count. Mathematical Association of America. pp. 35. ISBN 0883853337.
- Weistein, Eric W., "Lucas Sequence" from MathWorld.


















































