Fact-checked by Grok 2 weeks ago

Lucas number

The Lucas numbers form an named after the French mathematician (1842–1891), defined by the linear L_n = L_{n-1} + L_{n-2} for n \geq 2, with initial conditions L_0 = 2 and L_1 = 1. The first few terms are 2, 1, 3, 4, 7, 11, 18, 29, 47, 76, and so on. This sequence serves as the companion to the Fibonacci numbers, which follow the same recurrence but start with F_0 = 0 and F_1 = 1, and the two sequences are intimately related through identities such as L_n = F_{n-1} + F_{n+1} for n \geq 1. Like the Fibonacci sequence, Lucas numbers possess a via Binet's formula: L_n = \phi^n + (1 - \phi)^n, where \phi = \frac{1 + \sqrt{5}}{2} is the (approximately 1.618). This formula yields exact integers despite involving irrational numbers, highlighting their deep connection to the . Lucas introduced the sequence in his studies of recursive number patterns during the and , building on earlier work with Fibonacci-like series to explore properties in . His investigations, detailed in publications like Théorie des nombres (published posthumously in ), emphasized their role alongside Fibonacci numbers in generating functions, divisibility, and . Notable properties include the fact that every Lucas number is the sum of the two nearest Fibonacci numbers straddling it, and they exhibit similar growth rates to the Fibonacci numbers, with L_n \approx \phi^n for large n. In applications, Lucas numbers appear in primality testing, such as the Lucas-Lehmer test for , where sequences based on them help verify the primality of numbers of the form $2^p - 1. They also feature in combinatorial problems, matrix representations of recurrences, and extensions to generalized Lucas sequences with parameters P and Q, which unify various linear recurrences in algebra and geometry. These sequences continue to be studied for their periodic behavior modulo primes and connections to , underscoring their enduring significance in pure and applied mathematics.

Definition and History

Definition

The Lucas numbers form an \{L_n\}_{n=0}^\infty defined by the L_n = L_{n-1} + L_{n-2} \quad \text{for } n \geq 2, with initial conditions L_0 = 2 and L_1 = 1. The first few terms of the sequence are L_0 = 2, L_1 = 1, L_2 = 3, L_3 = 4, L_4 = 7, L_5 = 11, L_6 = 18, L_7 = 29, L_8 = 47, and so on (OEIS A000032). The Lucas numbers constitute a particular instance of the more general Lucas sequences V_n(P, Q), obtained by setting the parameters P = 1 and Q = -1. Like the numbers, the Lucas numbers obey the same linear recurrence but differ in their starting values.

History

The Lucas numbers are named after the French mathematician François Édouard Anatole Lucas (1842–1891), who first systematically studied the sequence in the 1870s as part of his investigations into integer sequences related to the numbers and applications in . Lucas's work on these sequences emerged during his broader research on primality testing, including methods for verifying Mersenne primes, which connect to the study of s through the even theorem. In 1878, he published his seminal paper "Théorie des fonctions numériques simplement périodiques" in the American Journal of Mathematics, where he formalized the general class of Lucas sequences, including the specific case now known as the Lucas numbers, and introduced criteria for primality using these sequences—later refined into the Lucas-Lehmer test. Following Lucas's death in 1891, the sequence gained wider recognition in the through literature, which explored its properties alongside numbers in puzzles and patterns. The sequence was formally cataloged in the (OEIS) upon its founding in 1964 by Neil Sloane, marking its integration into modern computational and combinatorial studies.

Mathematical Foundations

Closed-Form Expression

The closed-form expression for the Lucas number L_n is given by Binet's formula: L_n = \phi^n + \psi^n, where \phi = \frac{1 + \sqrt{5}}{2} is the and \psi = \frac{1 - \sqrt{5}}{2} is its conjugate. This formula arises from solving the linear L_n = L_{n-1} + L_{n-2} for n \geq 2, with initial conditions L_0 = 2 and L_1 = 1. The is r^2 - r - 1 = 0, which has roots \phi and \psi. The general solution is thus L_n = A \phi^n + B \psi^n. Applying the initial conditions yields A + B = 2 and A \phi + B \psi = 1. Since \phi + \psi = 1 and \phi \psi = -1, solving the system gives A = 1 and B = 1. The expression \phi^n + \psi^n evaluates to an integer for all nonnegative integers n, despite \phi and \psi being irrational algebraic conjugates in the quadratic field \mathbb{Q}(\sqrt{5}). This integer nature follows from the fact that the powers of these conjugates, when summed, lie in the rational subfield \mathbb{Q}, and the sequence satisfies the integer-coefficient recurrence with integer initial values. An equivalent form is L_n = \phi^n + (-\phi)^{-n}, which highlights that L_n is the exact value obtained without approximation. For n \geq 2, L_n is also the nearest integer to \phi^n, since |\psi^n| < 0.5. The Lucas numbers grow exponentially as L_n \sim \phi^n for large n, reflecting the dominant role of the golden ratio in the formula.

Relation to Fibonacci Numbers

The Lucas numbers and Fibonacci numbers are intimately connected through their shared linear recurrence relation. Both sequences satisfy the recurrence X_n = X_{n-1} + X_{n-2} for n \geq 2, with the Fibonacci sequence defined by initial conditions F_0 = 0, F_1 = 1, and the Lucas sequence by L_0 = 2, L_1 = 1. This common recurrence implies that they share the same characteristic equation x^2 - x - 1 = 0, with roots \phi = \frac{1 + \sqrt{5}}{2} (the golden ratio) and \hat{\phi} = \frac{1 - \sqrt{5}}{2}. A direct explicit relation expresses each Lucas number as the sum of two Fibonacci numbers: L_n = F_{n-1} + F_{n+1} for n \geq 1. This formula highlights how Lucas numbers emerge from adjacent Fibonacci terms shifted by one index, illustrating a simple additive pattern between the sequences. For example, L_4 = F_3 + F_5 = 2 + 5 = 7. Visually, this relation manifests in patterns where Lucas numbers approximate sums of every other Fibonacci number in certain geometric arrangements, such as tiled rectangles or spiral approximations, though the sequences interleave distinctly due to differing initial values. The connection extends to matrix representations, where both sequences arise from powers of the companion matrix Q = \begin{pmatrix} 1 & 1 \\ 1 & 0 \end{pmatrix}. Specifically, Q^n = \begin{pmatrix} F_{n+1} & F_n \\ F_n & F_{n-1} \end{pmatrix} for n \geq 1, and the trace of this matrix equals L_n = F_{n+1} + F_{n-1}, unifying the sequences through linear algebra. Cassini-like identities further link the sequences. The standard Cassini identity for Fibonacci numbers states F_{n+1} F_{n-1} - F_n^2 = (-1)^n. A related identity combining both is L_n^2 - 5 F_n^2 = 4 (-1)^n, which extends the Cassini form by incorporating the discriminant of the characteristic equation and reveals the interplay between the sequences' growth rates.

Sequence Extensions

Negative Indices

The Lucas sequence, defined by the recurrence L_n = L_{n-1} + L_{n-2} for n \geq 2 with initial conditions L_0 = 2 and L_1 = 1, can be extended to negative indices by solving the recurrence relation in the reverse direction. Starting from these initial values, L_{-1} is found by rearranging the equation for n=1: L_1 = L_0 + L_{-1}, so $1 = 2 + L_{-1} yields L_{-1} = -1. Similarly, L_{-2} follows from n=0: L_0 = L_{-1} + L_{-2}, so $2 = -1 + L_{-2} gives L_{-2} = 3. Continuing, L_{-3} = L_{-1} - L_{-2} = -1 - 3 = -4, and L_{-4} = L_{-2} - L_{-3} = 3 - (-4) = 7. This backward extension preserves the same linear recurrence for all integers n, resulting in the reflection formula L_{-n} = (-1)^n L_n for positive integers n > 0. This relation holds because the characteristic equation of the recurrence remains unchanged, and induction confirms it aligns with the computed values: for n=1, L_{-1} = (-1)^1 \cdot 1 = -1; for n=2, L_{-2} = (-1)^2 \cdot 3 = 3; for n=3, L_{-3} = (-1)^3 \cdot 4 = -4. The formula can be derived by assuming the recurrence applies bidirectionally and verifying via the generating function or matrix representation of the sequence. The closed-form Binet expression for Lucas numbers, L_n = \phi^n + \hat{\phi}^n where \phi = \frac{1 + \sqrt{5}}{2} and \hat{\phi} = \frac{1 - \sqrt{5}}{2}, extends naturally to negative indices, but direct substitution confirms L_{-n} = \phi^{-n} + \hat{\phi}^{-n} = (-1)^n L_n due to the properties \hat{\phi} = -1/\phi and \phi \hat{\phi} = -1. This verification ensures the formula's consistency across all integers without altering the integer-valued nature of the sequence. Regarding parity, the signs for negative indices alternate based on whether the of the index is even or odd: values at even negative indices (like L_{-2} = 3, L_{-4} = 7) are positive, while those at odd negative indices (like L_{-1} = -1, L_{-3} = -4) are negative, mirroring the positive sequence but with the sign flip encoded in (-1)^n. This pattern emerges directly from the reflection formula and the recurrence's linear structure.

Lucas Polynomials

The Lucas polynomials L_n(x) form a sequence of polynomials generalizing the Lucas numbers, defined by the recurrence relation L_n(x) = x L_{n-1}(x) + L_{n-2}(x) for n \geq 2, with initial conditions L_0(x) = 2 and L_1(x) = x. These polynomials are monic of degree n for n \geq 1, and they satisfy the same linear recurrence structure as the Lucas sequence but with coefficients depending on x. When evaluated at x = 1, the Lucas polynomials recover the standard Lucas numbers: L_n(1) = L_n, where L_n denotes the n-th Lucas number. For example, L_2(x) = x^2 + 2, \quad L_3(x) = x^3 + 3x, and higher-degree terms follow the pattern of expanding through the recurrence. The ordinary for the Lucas polynomials is \sum_{n=0}^{\infty} L_n(x) t^n = \frac{2 - x t}{1 - x t - t^2}. This closed form arises from solving the recurrence and incorporating the initial conditions. The Lucas polynomials L_n(x) are of degree n and possess roots that lie on the imaginary axis, specifically at $2i \sin(k\pi/n) for k = 1, \dots, n-1. These roots are connected to the Chebyshev polynomials of the first kind via the relation L_n(x) = 2 i^n T_n\left( -i x / 2 \right), where T_n is the n-th Chebyshev polynomial, highlighting their trigonometric structure.

Identities and Properties

Fundamental Identities

The fundamental identities of Lucas numbers provide algebraic relations that connect terms within the sequence and link them to Fibonacci numbers. These identities are essential for deriving higher-level properties and have been established through methods such as mathematical induction and Binet's closed-form expression. One key addition formula expresses L_{m+n} in terms of Lucas and Fibonacci numbers: L_{m+n} = L_{m+1} F_n + L_m F_{n-1} This symmetric form holds for positive integers m and n, and can be verified by direct computation for small values or proved using Binet's formulas for both sequences, where the powers of the golden ratio \phi = (1 + \sqrt{5})/2 and its conjugate align to yield the relation. An equivalent expression is L_{m+n} = \frac{1}{2} (L_m L_n + 5 F_m F_n), which rearranges to highlight the product of Lucas terms adjusted by Fibonacci contributions. The multiplication formula relates the product of two Lucas numbers to others in the sequence: L_m L_n = L_{m+n} + (-1)^n L_{m-n} This identity assumes m \geq n > 0 and follows from the addition formula combined with the known relation L_k^2 - 5 F_k^2 = 4 (-1)^k; a proof by induction on n confirms it, with the base case n=1 reducing to L_m L_1 = L_{m+1} + (-1)^1 L_{m-1}, which aligns with the recurrence. D'Ocagne's identity mixes Lucas and Fibonacci terms to yield another Fibonacci expression: F_m L_n = F_{m+n} + (-1)^n F_{m-n} For m \geq n \geq 0, this can be rearranged as L_m F_n - F_m L_n = (-1)^{n+1} (F_{m-n} L_n - F_n L_{m-n}), but the primary form is derived using Binet's formula, where the difference of powers simplifies due to the orthogonal properties of \phi and its conjugate. The symmetric version F_n L_m = F_{m+n} + (-1)^m F_{n-m} holds similarly. An adaptation of Catalan's identity for Lucas numbers generalizes the Cassini-like relation: L_{n+r} L_{n-r} - L_n^2 = (-1)^{n-r} 5 F_r^2 This holds for integers n > r \geq 1, with the special case r=1 giving L_{n+1} L_{n-1} - L_n^2 = 5 (-1)^{n-1}. Proofs proceed by on r, leveraging the recurrence and the fundamental relation L_n^2 - 5 F_n^2 = 4 (-1)^n, or directly via Binet's formula, where the cross terms cancel to produce the Fibonacci square factor scaled by 5.

Generating Function

The ordinary generating function for the Lucas sequence \{L_n\}_{n=0}^\infty, defined by L_0 = 2, L_1 = 1, and L_n = L_{n-1} + L_{n-2} for n \geq 2, is given by G(x) = \sum_{n=0}^\infty L_n x^n = \frac{2 - x}{1 - x - x^2}, for |x| < 1/\phi \approx 0.618, where \phi = (1 + \sqrt{5})/2 is the golden ratio. To derive this, start with the recurrence relation and initial conditions. Multiply the recurrence by x^n and sum over n \geq 2: \sum_{n=2}^\infty L_n x^n = \sum_{n=2}^\infty L_{n-1} x^n + \sum_{n=2}^\infty L_{n-2} x^n. The left side is G(x) - L_0 - L_1 x. The first sum on the right is x (G(x) - L_0), and the second is x^2 G(x). Substituting the initial values yields G(x) - 2 - x = x(G(x) - 2) + x^2 G(x), which simplifies to G(x) (1 - x - x^2) = 2 - x, solving for the stated formula. This generating function relates closely to that of the Fibonacci sequence \{F_n\}_{n=0}^\infty, where F_0 = 0, F_1 = 1, and the same recurrence holds, with \sum_{n=0}^\infty F_n x^n = \frac{x}{1 - x - x^2}. The numerators differ due to the initial conditions: the Lucas numerator $2 - x reflects L_0 + (L_1 - L_0) x = 2 - x, while the Fibonacci is simply x. The generating function connects to the closed-form Binet expression L_n = \phi^n + \psi^n, where \psi = (1 - \sqrt{5})/2 = 1 - \phi. Summing the geometric series gives G(x) = \sum_{n=0}^\infty (\phi^n + \psi^n) x^n = \frac{1}{1 - \phi x} + \frac{1}{1 - \psi x}. Partial fraction decomposition confirms this equals (2 - x)/(1 - x - x^2), as the roots of the denominator are \phi and \psi. Applications include extracting coefficients L_n using the partial fractions above or via contour integrals around the poles at x = 1/\phi and x = 1/\psi, though the Binet form is more direct for computation. Generating functions also facilitate proofs of identities by series manipulation, such as multiplying G(x) by (1 - x - x^2) to recover the recurrence or deriving summation formulas through differentiation and integration.

Congruence Relations

The Lucas sequence is periodic modulo any positive integer m, with the length of the minimal period denoted \pi_L(m), analogous to the Pisano period for the Fibonacci sequence. This period satisfies \pi_L(m) = \pi(m) whenever \gcd(m, 5) = 1, but may differ otherwise; for example, \pi_L(5^n) = 4 \cdot 5^{n-1} for n \geq 1. Representative examples illustrate this periodicity. Modulo 2, the sequence begins 1, 1, 0 and repeats every 3 terms: L_n \equiv 0 \pmod{2} if n \equiv 0 \pmod{3}, and L_n \equiv 1 \pmod{2} otherwise. Modulo 3, the sequence is 1, 0, 1, 1, 2, 0, 2, 2 and repeats every 8 terms. For a prime p, the rank of apparition \rho_L(p) (also called the entry point) is the smallest positive integer k such that L_k \equiv 0 \pmod{p}, provided such a k exists. This is the law of appearance for Lucas numbers. For p = 2, \rho_L(2) = 3. The prime 5 divides no Lucas number, so \rho_L(5) is undefined. For odd primes p \neq 5, \rho_L(p) always exists, divides p - \left( \frac{5}{p} \right) (where \left( \frac{5}{p} \right) is the Legendre symbol), and the period satisfies \pi_L(p) \in \{\rho_L(p), 2\rho_L(p), 4\rho_L(p)\}. The primes p for which \rho_L(p) exists (i.e., those dividing some L_n) form a set of asymptotic density $2/3. Basic modular properties of Lucas numbers relate to quadratic residues. Specifically, L_n \equiv 0 \pmod{p} if and only if \rho_L(p) divides n. For example, if 5 is a quadratic residue modulo p (so \left( \frac{5}{p} \right) = 1), then \rho_L(p) divides p-1, implying p divides L_n for some n dividing p-1. If instead \left( \frac{5}{p} \right) = -1, then \rho_L(p) divides p+1. Additionally, for any odd prime p, L_p \equiv 1 \pmod{p}.

Special Lucas Numbers

Lucas Primes

A Lucas prime is defined as a Lucas number L_n that is itself a prime number, where the Lucas sequence is given by L_0 = 2, L_1 = 1, and L_n = L_{n-1} + L_{n-2} for n \geq 2. While L_p for prime p has been of particular interest due to potential algebraic factorizations for composite indices, Lucas primes more generally refer to any prime L_n regardless of whether n is prime. The known small Lucas primes occur at specific indices n and provide examples of the sequence's primality patterns. These include:
Index nLucas Prime L_n
02
23
47
511
729
847
11199
13521
162207
173571
This list represents the initial confirmed cases, with further small primes at indices such as 19 (L_{19} = 9349) and 31 (L_{31} = 3010349). Notably, no Lucas primes are known for n = 1 (since L_1 = 1) or n = 3 (since L_3 = 4), and primality becomes rarer as n increases due to the rapid growth of L_n. Searches for Lucas primes began in the late 20th century, with systematic efforts led by mathematicians and , who in 1999 used computational methods to test probable primality up to n = 150,000, identifying 33 probable Lucas primes beyond the small ones listed above. Their work extended earlier manual verifications and established benchmarks for larger n, confirming primes like L_{4787} (with 999 digits). Subsequent distributed computing initiatives, including and , have driven further discoveries by leveraging volunteer resources for probabilistic primality testing, such as the . These projects have focused on indices up to millions, though full deterministic proofs remain computationally intensive for very large candidates. Among larger discoveries, the largest fully proven Lucas prime as of late 2023 is L_{202667}, which has 42,355 digits and was verified using the elliptic curve primality proving (ECPP) method. For probable primes, which pass strong probabilistic tests but await full proof, the record stands at L_{5466311} with 1,142,392 digits, discovered in August 2022 by Ryan Propper using PRP testing. No larger Lucas primes or probable primes have been reported through November 2025, reflecting the challenges in extending searches beyond n \approx 5 \times 10^6.

Other Notable Properties

One notable divisibility property of Lucas numbers states that L_m divides L_n if and only if n = k m where k is an odd positive integer. Among the Lucas numbers, the only perfect squares are L_1 = 1 = 1^2 and L_3 = 4 = 2^2. This result was established by analyzing the equation L_n = y^2 using properties of the fundamental units in quadratic fields. The closed-form expression for Lucas numbers, known as Binet's formula, is L_n = \phi^n + (1 - \phi)^n, where \phi = \frac{1 + \sqrt{5}}{2} is the golden ratio. Since |1 - \phi| < 1, it follows that L_n \approx \phi^n for large n, with the approximation error less than 1. Every positive integer has a unique representation as a sum of distinct non-consecutive Lucas numbers, analogous to the Zeckendorf representation for Fibonacci numbers; specifically, n = \sum L_{k_i} where k_i \geq 1 and k_{i} - k_{i+1} \geq 2, or including L_0 = 2 under adjusted conditions for uniqueness. Regarding parity, Lucas numbers L_n are even if and only if 3 divides n, and odd otherwise; for example, L_3 = 4, L_6 = 18, and L_9 = 76 are even, while the rest in the initial terms are odd. Patterns modulo small integers, such as modulo 5 where the sequence repeats every 20 terms (L_n \equiv L_{n+20} \pmod{5}), further illustrate periodic behaviors distinct from Fibonacci sequences.

Advanced Topics and Applications

Continued Fractions for Powers of the Golden Ratio

The powers of the golden ratio \phi = \frac{1 + \sqrt{5}}{2} admit compact continued fraction expansions where the partial quotients are directly determined by L_n. These expansions arise from the closed-form expression \phi^n = F_n \phi + F_{n-1}, where F_n denotes the nth (with F_1 = 1, F_2 = 1), which links the powers to the infinite continued fraction [\ 1; \overline{1}\ ] of \phi itself whose convergents are ratios of . For odd positive integers n, the continued fraction is purely periodic with period length 1: \phi^n = \Bigl[ L_n;\ \overline{L_n}\ \Bigr], where L_n is the nth (with L_0 = 2, L_1 = 1). This form follows from solving the quadratic equation x = L_n + \frac{1}{x}, whose positive root is \frac{L_n + \sqrt{L_n^2 + 4}}{2} = \phi^n. A representative example is n=3: L_3 = 4, so \phi^3 = \Bigl[ 4;\ \overline{4}\ \Bigr] \approx 4.236. The convergents here are ratios whose denominators and numerators involve every other Fibonacci number, reflecting the rapid convergence due to the large partial quotient L_3. For even positive integers n, the continued fraction has period length 2: \phi^n = \Bigl[ L_n - 1;\ \overline{1,\ L_n - 2}\ \Bigr]. This structure ensures the partial quotients remain positive integers greater than or equal to 1, maintaining a semi-regular form where Lucas numbers dictate the scale of the quotients. For n=2, L_2 = 3, yielding [2;\ \overline{1,\ 1}\ ] = [2;\ \overline{1}\ ] \approx 2.618, which aligns with \phi^2 = \phi + 1. The large values of L_n - 2 for larger even n (e.g., n=4, L_4 = 7, giving [6;\ \overline{1,\ 5}\ ] \approx 6.854) bound the error in approximations, with convergents whose denominators incorporate Lucas numbers in recursive relations similar to those for Fibonacci sequences.

Applications in Nature and Mathematics

Lucas numbers appear in natural patterns, particularly in the spiral arrangements of seeds in sunflower heads, where they represent the second most common sequence after the . A citizen science study analyzing 657 sunflower seedheads found that while dominate parastichy counts at 74%, occur in 5% of cases, often alongside structures in the clockwise and counterclockwise spirals. This prevalence highlights as a key non- pattern in optimizing seed packing for efficient space utilization and sunlight exposure. In biology, Lucas numbers contribute to phyllotaxis, the spatial arrangement of leaves, florets, or seeds on plants, where growth angles approximate the to minimize overlap and maximize light capture. For instance, certain sunflowers exhibit parastichy pairs involving Lucas numbers, such as 76 and 123, as observed in cultivated specimens, reflecting deviations from pure patterns while maintaining efficient helical growth. These arrangements underscore the role of Lucas sequences in evolutionary adaptations for plant morphology, with ratios of consecutive terms converging to the , akin to growth. In combinatorics, Lucas numbers count the ways to tile circular boards or bracelets with squares (monomers) and dominoes (dimers), providing a bijection to linear tilings adjusted for rotational symmetry. Specifically, the nth Lucas number L_n equals the number of distinct tilings of an n-length circular board using these tiles, as established through recursive decompositions that align with the sequence's defining relation L_n = L_{n-1} + L_{n-2}. This interpretation extends classical tiling counts to cyclic structures, offering visual proofs for identities involving Lucas numbers. Graph theory applications link Lucas numbers to the enumeration of s in specific graphs. For a labeled graph with n+1 vertices (a cycle of n vertices plus a central hub connected to all), the number of spanning trees is L_{2n-2} for n > 2, derived from recursive expansions of the graph's . Similarly, in a labeled graph with n+1 vertices (a of n vertices each connected to a central vertex), the spanning tree count is F_{2n}, the 2n-th number, illustrating how Lucas and Fibonacci numbers quantify connectivity in wheel and fan configurations. These results arise from combinatorial bijections that map tree structures to recurrences. Algebraically, Lucas numbers facilitate solutions to linear recurrences via , using the \begin{pmatrix} 1 & 1 \\ 1 & 0 \end{pmatrix}. Raising this to the power n and multiplying by the initial \begin{pmatrix} 1 \\ 2 \end{pmatrix} yields \begin{pmatrix} L_{n+1} \\ L_n \end{pmatrix}, enabling closed-form computation of sequence terms and powers in broader linear systems. This method parallels computations but leverages Lucas initial conditions, with properties like factorizations revealing structural identities in the sequences.

Applications in Computing and Cryptography

Lucas sequences play a crucial role in primality testing through the concept of Lucas pseudoprimes, which are composite numbers that pass specific Lucas-based tests designed to mimic prime behavior. In the Baillie-PSW primality test, a composite number is subjected to a strong pseudoprime test to base 2 followed by a Lucas pseudoprime test with a carefully chosen discriminant, ensuring that no known odd composites below $10^{18} pass both. This combination enhances reliability for probable prime detection in cryptographic key generation, with only five Lucas-V pseudoprimes identified below $10^{15}, making the test highly effective for large integers. Generalized Lucas-Lehmer tests extend the classical for Mersenne numbers to forms like h \cdot 2^n \pm 1 using properties of Pell conics and . These tests leverage the group structure of Pell conics to construct primality certificates, where a defined by parameters P and Q satisfies a condition the number if it is prime, providing deterministic verification for specific without probabilistic elements. For instance, the test applies to Proth-Riesel numbers by finding fixed seeds that generate the required order. In cryptography, Lucas sequences enable efficient computations in , such as determining the order of an over \mathbb{F}_{2^m} using the [formula \#E](/page/Formula_E)(\mathbb{F}_{2^m}) = 2^m + 1 - V_l(t, 2^r), where V_l is the l-th term of a Lucas sequence with l = m/r. This avoids expensive point counting by requiring approximately $11n/2 multiplications via a doubling-and-adding based on the expansion of the , outperforming naive recurrence methods. More recently, modular Lucas sequences underpin verifiable delay functions (VDFs), which require sequential time proportional to the while allowing quick verification, relying on the sequential hardness comparable to iterated modular squaring but under weaker assumptions. These VDFs support time-lock puzzles and proof-of-time protocols in applications. For fast computation in algorithms, Lucas numbers L_n modulo m can be obtained in O(\log n) time using matrix exponentiation with the matrix Q_L = \begin{pmatrix} 3 & 1 \\ 1 & 2 \end{pmatrix}, where Q_L^n = 5^{(n-1)/2} \begin{pmatrix} L_{n+1} & L_n \\ L_n & L_{n-1} \end{pmatrix} for odd n, derived via and relating to matrices. This method is particularly useful in for , reducing the complexity from linear to logarithmic in the index.

References

  1. [1]
    Édouard Lucas (1842-1891) Number Theorist - Evansville
    The Lucas sequence,. 2, 1, 3, 4, 7, 11, 18, . . . is named in honor of François-Édouard-Anatole Lucas. Each term beginning with 3 is the sum of the two ...Missing: history | Show results with:history
  2. [2]
    [PDF] Sum of Consecutive Terms of Pell and Related Sequences
    Definitions. Lucas Numbers. Definition. Lucas numbers occur in the infinite sequence defined by the recurrence. L(n) =... 2 n = 0. 1 n = 1. L(n − 1) + L(n ...
  3. [3]
    [PDF] 12 Chapter 2 THE FIBONACCI AND LUCAS NUMBERS
    We now can define the Fibonacci numbers formally as the sequence F0, F1, ÿ having the two following properties. INITIAL CONDITIONS F0 = 0 and F1 = 1 ...
  4. [4]
    [PDF] The Fibonacci Numbers and the Golden Ratio
    A similar sequence of numbers is the Lucas numbers, defined with the same recursive relation but with different initial seeds (starting values).
  5. [5]
    [PDF] PROOFS OF TWO FIBONACCI IDENTITIES - The Citadel
    The first nine Lucas numbers are 2,1,3,4,7,11,18,29. Fibonacci and Lucas ... the terms inside the parenthesis, making each term a product of Lucas numbers.<|control11|><|separator|>
  6. [6]
    Introduction to the Fibonacci and Lucas numbers - Wolfram Functions
    From this group, it was Francois Edouard Anatole Lucas (1870, 1876–1880) who gave Fibonacci numbers their name. He also investigated a similar sequence ...
  7. [7]
    Mathematical Treasure: Lucas's Theory of Numbers
    Edouard Lucas (1842-1891) was a French mathematician and a number theorist. In his work, he investigated the properties of the Fibonacci sequence.
  8. [8]
  9. [9]
    PrimePage Primes: Generalized Lucas Number
    0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, .... Each term is the sum of the two proceeding terms. Lucas [Lucas1878] generalized this by defining pairs of sequences ...
  10. [10]
    Lucas Number -- from Wolfram MathWorld
    The Lucas numbers are the sequence of integers {L_n}_(n=1)^infty defined by the linear recurrence equation L_n=L_(n-1)+L_(n-2) with L_1=1 and L_2=3.
  11. [11]
    A000032 - OEIS
    The Lucas numbers form a cyclic residue system of length 3 (mod 2), of length 4 (mod 5), of length 6 (mod 4), of length 12 (mod 40) and of length 60 (mod ...
  12. [12]
    Lucas Sequence -- from Wolfram MathWorld
    Let P, Q be integers satisfying D=P^2-4Q>0. (1) Then roots of x^2-Px+Q=0 (2) are a = 1/2(P+sqrt(D)) (3) b = 1/2(P-sqrt(D)), (4) so a+b = P (5) ab ...
  13. [13]
    Édouard Lucas (1842 - 1891) - Biography - MacTutor
    Lucas is best known for his results in number theory: in particular he studied the Fibonacci sequence and the associated Lucas sequence is named after him.Missing: introduction | Show results with:introduction
  14. [14]
    Introduction to the Fibonacci and Lucas numbers - Wolfram Functions
    From this group, it was Francois Edouard Anatole Lucas (1870, 1876–1880) who gave Fibonacci numbers their name. He also investigated a similar sequence ( ...
  15. [15]
    [PDF] The Theory of Simply Periodic Numerical Functions
    EDOUARD LUCAS. FIBONACCI ASSOCIATION. 1969. Page 2. Page 3. THE THEORY OF SIMPLY PERIODIC. NUMERICAL FUNCTIONS by. EDOUARD LUCAS. Translated from the French by.
  16. [16]
    RECREATIONAL MATHEMATICS
    The French mathematician François Edouard Lucas, best known for his results in number theory, also made notable contributions to recreational mathematics ...
  17. [17]
    [PDF] Formula Semantification and Automated Relation Finding in the On ...
    Oct 26, 2013 · The OEIS is a web information system about integer sequences. Started in 1964 by Neil. Sloane, an active community now curates over 250 000 ...<|control11|><|separator|>
  18. [18]
    A000204 - OEIS
    ### Summary of Closed-Form or Binet Formula for Lucas Numbers (A000204)
  19. [19]
    [PDF] Fibonacci and Lucas numbers∗
    Binet's formulas allow to define the Fibonacci and Lucas numbers for non-integer ... Figure 7: Relation (79) between Fibonacci's numbers and the Pascal triangle.
  20. [20]
    [PDF] the cassini identity and its relatives - The Fibonacci Quarterly
    The Cassini identity for Fibonacci numbers is Fn-1Fn+1 - F2n = (-1)^n. It is a common mathematical fact.
  21. [21]
    [PDF] inverse relations for lucas sequences - The Fibonacci Quarterly
    derive the Lucas sequences at negative indices, and easily verify the reflection formulas. U-n = -q-nUn and V-n = q-nVn. (5.2). Lucas [4, Section XII] gave ...
  22. [22]
    [PDF] fibonacci and lucas sequences at negative indices - DergiPark
    Abstract. This study investigate the Fibonacci and Lucas sequences at neg- ative indices. In this paper we give the formulas of F−(nk+r) and L−(nk+r).
  23. [23]
    The Lucas Numbers - Dr Ron Knott
    The French mathematician, Edouard Lucas (1842-1891), who gave the series of numbers 0, 1, 1, 2, 3, 5, 8, 13, .. the name the Fibonacci Numbers.A number trick based on Phi... · What's the secret? · An even more complicated...
  24. [24]
    Lucas Polynomial -- from Wolfram MathWorld
    The Lucas polynomials are the w -polynomials obtained by setting p(x)=x and q(x)=1 in the Lucas polynomial sequence.
  25. [25]
    [PDF] Using Lucas polynomials to find the p-adic square roots of −1,−2 and
    Dec 1, 2022 · The Lucas polynomials are related to the Chebyshev polynomials of the first kind at an imaginary argument by. Ln(x)=2inTn. − ix. 2 . (4).
  26. [26]
    [PDF] Identities on generalized Fibonacci and Lucas numbers
    Lucas sequence: The Lucas sequence, named after the mathematician François ´Edouard Anatole. Lucas (1842–1891), is closely related to the Fibonacci sequence.
  27. [27]
    None
    Below is a merged summary of Lucas number identities extracted from Thomas Koshy's book *"Pell and Pell–Lucas Numbers with Applications"* (Springer, 2014, ISBN 978-1-4614-8489-9). The information is consolidated into a dense, organized format, including tables where appropriate to retain all details from the provided segments. The response avoids redundancy while ensuring completeness, with references to sections, chapters, and useful URLs.
  28. [28]
    Fibonacci and Lucas Numbers with Applications | Wiley Online Books
    Fibonacci and Lucas Numbers with Applications ; Author(s):. Thomas Koshy, ; First published:19 September 2001 ; Print ISBN:9780471399698 |Online ; |Online ...
  29. [29]
    [PDF] Generating functions - Brandeis
    We know that the generating function for the Fibonacci sequence is. ∞. X n=0. Fnxn = x. 1 − x − x2 and the generating function for the Lucas sequence is. ∞. X.
  30. [30]
    [PDF] #A63 INTEGERS 19 (2019) ON p-ADIC PROPERTIES OF SOME ...
    Dec 6, 2019 · Note that the modulo m periods π(m) and πL(m) for the Fibonacci and Lucas numbers, respectively, can be different only if gcd(m,5) \= 1. The ...<|control11|><|separator|>
  31. [31]
    [PDF] THE ORDER OF THE FIBONACCI AND LUCAS NUMBERS T. Lengyel
    [The smallest n such that Fn = 0 (mod /?) is called the rank of apparition of prime p and is denoted by n(p).] This technique is based on that of Wilcox [17] ...
  32. [32]
    [PDF] DISTRIBUTION OF FIBONACCI AND LUCAS NUMBERS MODULO 3k
    These two results on ΩL clearly say that, in contrast to the Fibonacci sequence, the Lucas sequence is neither stable modulo 2 nor modulo 5. A few years ago, ...
  33. [33]
    THE SET OF PRIMES DIVIDING THE LUCAS NUMBERS HAS ...
    { p: p divides Ln for some n } has density 2/3. ...Missing: L_n | Show results with:L_n
  34. [34]
    [PDF] Characteristics of Fibonacci-type Sequences - Whitman College
    The following fact is another interesting characteristic of the Lucas numbers. Theorem 5.3. For all primes p, Lp ≡ 1 (mod p). Proof. For the case when. (5.Missing: L_p | Show results with:L_p
  35. [35]
    Lucas Prime -- from Wolfram MathWorld
    The first few prime Lucas numbers L_n are 2, 3, 7, 11, 29, 47, 199, 521, 2207, 3571, . ... See also. Fibonacci Prime, Integer Sequence Primes, Lucas Number, Lucas ...
  36. [36]
    [PDF] ON PRIMES IN LUCAS SEQUENCES 1. Introduction As usual, let {L ...
    In this paper, we will prove the following complementary result to Theorem 1.1 providing values of n for which n is equal to a prime or a power of 2 and Ln is ...
  37. [37]
    PrimePage Primes: Lucas Number
    The Prime Pages keeps a list of the 5000 largest known primes, plus a few each of certain selected archivable forms and classes. These forms are defined in this ...
  38. [38]
    Primality Proving 1: A Quick Introduction - The Prime Pages
    These tests have been used for over 99.99% of the largest known primes. They include special cases such as the Lucas-Lehmer test for Mersenne primes and Pepin's ...Missing: top sequence
  39. [39]
    Lucas Prime - Prime k-tuplets
    Dec 16, 2023 · L5466311, 1142392, Aug 2022, Ryan Propper, PRP. L4819961, 1007313, Jul 2022, Ryan Propper, PRP. L4161629, 869730, Jul 2022, Ryan Propper, PRP. L ...
  40. [40]
    [PDF] 7 • Divisibility Properties of the - The Fibonacci Quarterly
    L, divides Lm if and only if m = (2k - 1)n, n > 1. For example, L3 4 divides L 76, L15 1364, and so on. (Fn+2: Fn+1) 1. THEOREM VII (Ln+2 Ln+1) 1.
  41. [41]
    [PDF] Square Fibonacci numbers, etc
    INTRODUCTION. An old conjecture about Fibonacci numbers is that 0, 1 and 144 are the only perfect squares. Recently there appeared a report that.
  42. [42]
    [PDF] Lucas Representations of Positive Integers
    Various kinds of representations of positive integers using nonconsecutive Lucas numbers are used to define arrays related to the Wythoff array. The columns of ...
  43. [43]
    Continued Fractions - An introduction - Dr Ron Knott
    Express all the powers of Phi in the form (X+Y√5)/2. Find a formula for Phin in terms of the Lucas and Fibonacci numbers. Phin = ( Lucas(n) + Fib(n) √5 ) / 2 ...
  44. [44]
    [PDF] The Generalizations of the Golden Ratio: Their Powers, Continued ...
    Dec 23, 2011 · The continued fractions for the powers of the golden ratio also exhibit an interesting relationship with the Lucas numbers. In this paper, we ...
  45. [45]
    Novel Fibonacci and non-Fibonacci structure in the sunflower
    May 18, 2016 · This citizen science study evaluates the occurrence of Fibonacci structure in the spirals of sunflower (Helianthus annuus) seedheads.
  46. [46]
    [PDF] Spirals and phyllotaxis
    95% Fibonacci numbers. 4% Lucas numbers. 1% not properly formed. Sequence of Lucas numbers. 1, 3, 4, 7, 11, 18, 29, 47, 76. Lucas numbers. L1 = 1. L2 = 3. Ln = ...Missing: seed | Show results with:seed
  47. [47]
    [PDF] SPANNING TREES AND FIBONACCI AND LUCAS NUMBERS
    For n > 2 the number of spanning trees of a labelled wheel on n + 1 points is L. 2n - 2, and the number of span- ning trees of a labelled fan on n + 1 points ...
  48. [48]
    [PDF] Unique Properties of the Fibonacci and Lucas Sequences
    Using the structure of the ring [3], we will prove specific relations among the Fibonacci sequence, the Lucas sequence, and other recursive sequences. 2.
  49. [49]
    [2006.14425] Strengthening the Baillie-PSW primality test - arXiv
    Jun 25, 2020 · The Baillie-PSW primality test combines Fermat and Lucas probable prime tests. It reports that a number is either composite or probably prime.
  50. [50]
    AMS :: Proceedings of the American Mathematical Society
    Generalized Lucas-Lehmer tests using Pell conics. HTML articles powered by AMS MathViewer. by Samuel A. Hambleton: Proc. Amer. Math. Soc. 140 (2012), 2653-2661 ...
  51. [51]
    [PDF] Efficient computation of full Lucas sequences - Marc Joye
    In this Letter, we shall see a less-known application. In 1985, the theory of elliptic curves emerged for cryptographic purposes. ... Lucas sequences ... and its ...
  52. [52]
    (Verifiable) Delay Functions from Lucas Sequences
    ### Summary of Applications of Lucas Sequences in Cryptography
  53. [53]
    (PDF) On lucas numbers by the matrix method - ResearchGate
    May 29, 2025 · This study investigates the closed forms of Lucas matrices, with a particular emphasis on the nth powers of the tridiagonal symmetric Toeplitz ...