Lehmer Number
   HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a Lehmer sequence U_n(\sqrt R, Q) or V_n(\sqrt R, Q) is a generalization of a
Lucas sequence In mathematics, the Lucas sequences U_n(P,Q) and V_n(P, Q) are certain constant-recursive integer sequences that satisfy the recurrence relation : x_n = P \cdot x_ - Q \cdot x_ where P and Q are fixed integers. Any sequence satisfying this rec ...
U_n(P, Q) or V_n(P, Q), allowing the square root of an integer ''R'' in place of the integer ''P''. To ensure that the value is always an integer, every other term of a Lehmer sequence is divided by compared to the corresponding Lucas sequence. That is, when ''R'' = ''P''2 the Lehmer and Lucas sequences are related as: :\begin P\,U_(\sqrt,Q) &= U_(P,Q) & U_(\sqrt,Q) &= U_(P,Q) \\ V_(\sqrt,Q) &= V_(P,Q) & P\,V_(\sqrt,Q) &= V_(P,Q) \end


Algebraic relations

If ''a'' and ''b'' are
complex number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
s with :a + b = \sqrt :ab = Q under the following conditions: * ''Q'' and ''R'' are
relatively prime In number theory, two integers and are coprime, relatively prime or mutually prime if the only positive integer that is a divisor of both of them is 1. Consequently, any prime number that divides does not divide , and vice versa. This is equiv ...
nonzero
integer An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
s * a/b is not a
root of unity In mathematics, a root of unity is any complex number that yields 1 when exponentiation, raised to some positive integer power . Roots of unity are used in many branches of mathematics, and are especially important in number theory, the theory ...
. Then, the corresponding Lehmer numbers are: :U_n(\sqrt,Q) = \frac for ''n'' odd, and :U_n(\sqrt,Q) = \frac for ''n''
even Even may refer to: General * Even (given name), a Norwegian male personal name * Even (surname), a Breton surname * Even (people), an ethnic group from Siberia and Russian Far East **Even language, a language spoken by the Evens * Odd and Even, a ...
. Their companion numbers are: :V_n(\sqrt,Q) = \frac for ''n'' odd and :V_n(\sqrt,Q) = a^n+b^n for ''n'' even.


Recurrence

Lehmer numbers form a linear
recurrence relation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
with :U_n = (R-2Q)U_-Q^2U_ = (a^2+b^2)U_-a^2b^2U_ with initial values U_0=0,\, U_1=1,\, U_2=1,\, U_3=R-Q=a^2+ab+b^2. Similarly the companion sequence satisfies :V_n = (R-2Q)V_-Q^2V_ = (a^2+b^2)V_-a^2b^2V_ with initial values V_0=2,\, V_1=1,\, V_2=R-2Q=a^2+b^2,\, V_3=R-3Q=a^2-ab+b^2. All Lucas sequence recurrences apply to Lehmer sequences if they are divided into cases for even and odd ''n'' and appropriate factors of are incorporated. For example, :\begin U_(\sqrt R,Q) &= \phantom U_(\sqrt R,Q) - Q\, U_(\sqrt R,Q) & U_(\sqrt R,Q) &= R\, U_(\sqrt R,Q) - Q\, U_(\sqrt R,Q) \\ V_(\sqrt R,Q) &= R\, V_(\sqrt R,Q) - Q\, V_(\sqrt R,Q) & V_(\sqrt R,Q) &= \phantom V_(\sqrt R,Q) - Q\, V_(\sqrt R,Q) \end


References

Integer sequences {{numtheory-stub