The Lucas sequence is an integer sequence named after the mathematician François Édouard Anatole Lucas (1842 - 1891), who studied both that sequence and the closely related Fibonacci sequence. Individual numbers in the Lucas sequence are known as Lucas numbers. Lucas numbers and Fibonacci numbers form complementary instances of Lucas sequences.
The Lucas sequence has the same recursive relationship as the Fibonacci sequence, where each term is the sum of the two previous terms, but with different starting values.[1] This produces a sequence where the ratios of successive terms approach the golden ratio, and in fact the terms themselves are roundings of integer powers of the golden ratio.[2] The sequence also has a variety of relationships with the Fibonacci numbers, like the fact that adding any two Fibonacci numbers two terms apart in the Fibonacci sequence results in the Lucas number in between.[3]
The first few Lucas numbers are
2, 1, 3, 4, 7, 11, 18, 29, 47, 76, 123, 199, 322, 521, 843, 1364, 2207, 3571, 5778, 9349, ... .
Cn
n\geq2
As with the Fibonacci numbers, each Lucas number is defined to be the sum of its two immediately previous terms, thereby forming a Fibonacci integer sequence. The first two Lucas numbers are
L0=2
L1=1
F0=0
F1=1
The Lucas numbers may thus be defined as follows:
Ln:= \begin{cases} 2&ifn=0;\\ 1&ifn=1;\\ Ln-1+Ln-2&ifn>1. \end{cases}
All Fibonacci-like integer sequences appear in shifted form as a row of the Wythoff array; the Fibonacci sequence itself is the first row and the Lucas sequence is the second row. Also like all Fibonacci-like integer sequences, the ratio between two consecutive Lucas numbers converges to the golden ratio.
Using
Ln-2=Ln-Ln-1
..., -11, 7, -4, 3, -1, 2, 1, 3, 4, 7, 11, ... (terms
Ln
-5\leq{}n\leq5
L-n
nL | |
=(-1) | |
n. |
The Lucas numbers are related to the Fibonacci numbers by many identities. Among these are the following:
Ln=Fn-1+Fn+1=2Fn+1-Fn
Lm+n=Lm+1Fn+LmFn-1
F2n=LnFn
Fn+k+(-1)kFn-k=LkFn
2F2n+k=LnFn+k+Ln+kFn
L2n=5
2 | |
F | |
n |
+2(-1)n=
2 | |
L | |
n |
-2(-1)n
\limn\toinfty
Ln | |
Fn |
=\sqrt{5}
\vertLn-\sqrt{5}Fn\vert=
2 | |
\varphin |
\to0
Ln+k-(-1)kLn-k=5FnFk
Fn={Ln-1+Ln+1\over5}
5Fn+Ln=2Ln+1
Their closed formula is given as:
Ln=\varphin+(1-\varphi)n=\varphin+(-\varphi)-n=\left({1+\sqrt{5}\over2}\right)n+\left({1-\sqrt{5}\over2}\right)n,
where
\varphi
n>1
(-\varphi)-n
Ln
\varphin
\varphin+1/2
\lfloor\varphin+1/2\rfloor
Combining the above with Binet's formula,
Fn=
\varphin-(1-\varphi)n | |
\sqrt{5 |
a formula for
\varphin
\varphin={{Ln+Fn\sqrt{5}}\over2}.
For integers n ≥ 2, we also get:
\varphin=Ln-(-\varphi)-n=Ln-(-1)n
-1 | |
L | |
n |
-
-3 | |
L | |
n |
+R
with remainder R satisfying
\vertR\vert<3
-5 | |
L | |
n |
Many of the Fibonacci identities have parallels in Lucas numbers. For example, the Cassini identity becomes
2 | |
L | |
n |
-Ln-1Ln+1=(-1)n5
Also
n | |
\sum | |
k=0 |
Lk=Ln+2-1
n | |
\sum | |
k=0 |
2 | |
L | |
k |
=LnLn+1+2
2 | |
2L | |
n-1 |
+
2 | |
L | |
n |
=L2n+1+
2 | |
5F | |
n-2 |
where
styleF | ||||
|
k | |
L | |
n |
=
| ||||||
\sum | ||||||
j=0 |
(-1)nj\binom{k}{j}L'(k-2j)n
where
L'n=Ln
L'0=1
For example if n is odd,
3 | |
L | |
n |
=L'3n-3L'n
4 | |
L | |
n |
=L'4n-4L'2n+6L'0
Checking,
L3=4,43=64=76-3(4)
256=322-4(18)+6
Let
\Phi(x)=2+x+3x2+4x3+ … =
infty | |
\sum | |
n=0 |
n | |
L | |
nx |
be the generating function of the Lucas numbers. By a direct computation,
\begin{align} \Phi(x)&=L0+L1x+
infty | |
\sum | |
n=2 |
n | |
L | |
nx |
\\ &=2+x+
infty | |
\sum | |
n=2 |
(Ln+Ln)xn\\ &=2+x+
infty | |
\sum | |
n=1 |
n+1 | |
L | |
nx |
+
infty | |
\sum | |
n=0 |
n+2 | |
L | |
nx |
\\ &=2+x+x(\Phi(x)-2)+x2\Phi(x) \end{align}
which can be rearranged as
\Phi(x)=
2-x | |
1-x-x2 |
\Phi\left(- | 1 |
x |
\right)
infty | |
\sum | |
n=0 |
-n | |
(-1) | |
nx |
=
infty | |
\sum | |
n=0 |
L-nx-n
\Phi\left(- | 1 |
x |
\right)=
x+2x2 | |
1-x-x2 |
\Phi(x)
\Phi(x)-\Phi\left(-
1 | |
x |
\right)=2
As the generating function for the Fibonacci numbers is given by
s(x)=
x | |
1-x-x2 |
we have
s(x)+\Phi(x)=
2 | |
1-x-x2 |
which proves that
Fn+Ln=2Fn+1,
and
5s(x)+\Phi(x)=
| ||||
|
+4
x | |
1-x-x2 |
proves that
5Fn+Ln=2Ln+1
The partial fraction decomposition is given by
\Phi(x)=
1 | |
1-\phix |
+
1 | |
1-\psix |
where
\phi=
1+\sqrt{5 | |
\psi=
1-\sqrt{5 | |
This can be used to prove the generating function, as
infty | |
\sum | |
n=0 |
n | |
L | |
nx |
=
infty | |
\sum | |
n=0 |
(\phin+\psin)xn=
infty | |
\sum | |
n=0 |
\phinxn+
infty | |
\sum | |
n=0 |
\psinxn=
1 | |
1-\phix |
+
1 | |
1-\psix |
=\Phi(x)
If
Fn\geq5
Fn
Ln
n
n
n
Ln-Ln-4
A Lucas prime is a Lucas number that is prime. The first few Lucas primes are
2, 3, 7, 11, 29, 47, 199, 521, 2207, 3571, 9349, 3010349, 54018521, 370248451, 6643838879, ... .
The indices of these primes are (for example, L4 = 7)
0, 2, 4, 5, 7, 8, 11, 13, 16, 17, 19, 31, 37, 41, 47, 53, 61, 71, 79, 113, 313, 353, 503, 613, 617, 863, 1097, 1361, 4787, 4793, 5851, 7741, 8467, ... ., the largest confirmed Lucas prime is L148091, which has 30950 decimal digits.[4], the largest known Lucas probable prime is L5466311, with 1,142,392 decimal digits.[5]
If Ln is prime then n is 0, prime, or a power of 2.[6] L2m is prime for m = 1, 2, 3, and 4 and no other known values of m.
Ln(x)
Close rational approximations for powers of the golden ratio can be obtained from their continued fractions.
For positive integers n, the continued fractions are:
\varphi2n-1=[L2n-1;L2n-1,L2n-1,L2n-1,\ldots]
\varphi2n=[L2n-1;1,L2n-2,1,L2n-2,1,L2n-2,1,\ldots]
For example:
\varphi5=[11;11,11,11,\ldots]
11 | |
1 |
,
122 | |
11 |
,
1353 | |
122 |
,
15005 | |
1353 |
,\ldots
\varphi6=[18-1;1,18-2,1,18-2,1,18-2,1,\ldots]=[17;1,16,1,16,1,16,1,\ldots]
17 | |
1 |
,
18 | |
1 |
,
305 | |
17 |
,
323 | |
18 |
,
5473 | |
305 |
,
5796 | |
323 |
,
98209 | |
5473 |
,
104005 | |
5796 |
,\ldots
Lucas numbers are the second most common pattern in sunflowers after Fibonacci numbers, when clockwise and counter-clockwise spirals are counted, according to an analysis of 657 sunflowers in 2016.[7]