Lucas number explained

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

of length

n\geq2

.

Definition

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

and

L1=1

, which differs from the first two Fibonacci numbers

F0=0

and

F1=1

. Though closely related in definition, Lucas and Fibonacci numbers exhibit distinct properties.

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}

(where n belongs to the natural numbers)

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.

Extension to negative integers

Using

Ln-2=Ln-Ln-1

, one can extend the Lucas numbers to negative integers to obtain a doubly infinite sequence:

..., -11, 7, -4, 3, -1, 2, 1, 3, 4, 7, 11, ... (terms

Ln

for

-5\leq{}n\leq5

are shown).The formula for terms with negative indices in this sequence is

L-n

nL
=(-1)
n.

Relationship to Fibonacci numbers

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

, so

\limn\toinfty

Ln
Fn

=\sqrt{5}

.

\vertLn-\sqrt{5}Fn\vert=

2
\varphin

\to0

Ln+k-(-1)kLn-k=5FnFk

; in particular,

Fn={Ln-1+Ln+1\over5}

, so

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

is the golden ratio. Alternatively, as for

n>1

the magnitude of the term

(-\varphi)-n

is less than 1/2,

Ln

is the closest integer to

\varphin

or, equivalently, the integer part of

\varphin+1/2

, also written as

\lfloor\varphin+1/2\rfloor

.

Combining the above with Binet's formula,

Fn=

\varphin-(1-\varphi)n
\sqrt{5
}\,,

a formula for

\varphin

is obtained:

\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

.

Lucas identities

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
n=Ln-1+Ln+1
5
.
k
L
n

=

\lfloor
k
2
\rfloor
\sum
j=0

(-1)nj\binom{k}{j}L'(k-2j)n

where

L'n=Ln

except for

L'0=1

.

For example if n is odd,

3
L
n

=L'3n-3L'n

and
4
L
n

=L'4n-4L'2n+6L'0

Checking,

L3=4,43=64=76-3(4)

, and

256=322-4(18)+6

Generating function

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)

gives the generating function for the negative indexed Lucas numbers,
infty
\sum
n=0
-n
(-1)
nx

=

infty
\sum
n=0

L-nx-n

, and
\Phi\left(-1
x

\right)=

x+2x2
1-x-x2

\Phi(x)

satisfies the functional equation

\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)=

2x\Phi(-1x)
=
21
1-x-x2

+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
} is the golden ratio and

\psi=

1-\sqrt{5
} is its conjugate.

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)

Congruence relations

If

Fn\geq5

is a Fibonacci number then no Lucas number is divisible by

Fn

.

Ln

is congruent to 1 modulo

n

if

n

is prime, but some composite values of

n

also have this property. These are the Fibonacci pseudoprimes.

Ln-Ln-4

is congruent to 0 modulo 5.

Lucas primes

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.

Lucas polynomials

Ln(x)

are a polynomial sequence derived from the Lucas numbers.

Continued fractions for powers of the golden ratio

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]

is the limit of
11
1

,

122
11

,

1353
122

,

15005
1353

,\ldots

with the error in each term being about 1% of the error in the previous term; and

\varphi6=[18-1;1,18-2,1,18-2,1,18-2,1,\ldots]=[17;1,16,1,16,1,16,1,\ldots]

is the limit of
17
1

,

18
1

,

305
17

,

323
18

,

5473
305

,

5796
323

,

98209
5473

,

104005
5796

,\ldots

with the error in each term being about 0.3% that of the second previous term.

Applications

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]

See also

External links

Notes and References

  1. Web site: Weisstein. Eric W.. Lucas Number. 2020-08-11. mathworld.wolfram.com. en.
  2. Book: Parker . Matt . Things to Make and Do in the Fourth Dimension . 2014 . Farrar, Straus and Giroux . 978-0-374-53563-6 . 284 . English . 13.
  3. Book: Parker . Matt . Things to Make and Do in the Fourth Dimension . 2014 . Farrar, Straus and Giroux . 978-0-374-53563-6 . 282 . English . 13.
  4. Web site: The Top Twenty: Lucas Number . primes.utm.edu . 6 January 2022.
  5. Web site: Henri & Renaud Lifchitz's PRP Top - Search by form . www.primenumbers.net . 6 January 2022.
  6. Chris Caldwell, "The Prime Glossary: Lucas prime" from The Prime Pages.
  7. Swinton . Jonathan . Ochu . Erinma . null . null . Novel Fibonacci and non-Fibonacci structure in the sunflower: results of a citizen science experiment . Royal Society Open Science . 2016 . 3 . 5 . 160091 . 10.1098/rsos.160091 . 4892450 . 27293788. 2016RSOS....360091S .