Lehmer Sequence
   HOME

TheInfoList



OR:

In mathematics, a Lehmer sequence 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 ...
.


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 fo ...
s with :a + b = \sqrt :ab = Q under the following conditions: * ''Q'' and ''R'' are
relatively prime In mathematics, 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 equivale ...
nonzero
integer An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the languag ...
s * a/b is not a
root of unity In mathematics, a root of unity, occasionally called a de Moivre number, is any complex number that yields 1 when raised to some positive integer power . Roots of unity are used in many branches of mathematics, and are especially important ...
. Then, the corresponding Lehmer numbers are: :U_n(\sqrt,Q) = \frac for ''n''
odd Odd means unpaired, occasional, strange or unusual, or a person who is viewed as eccentric. Odd may also refer to: Acronym * ODD (Text Encoding Initiative) ("One Document Does it all"), an abstracted literate-programming format for describing X ...
, and :U_n(\sqrt,Q) = \frac for ''n''
even Even may refer to: General * Even (given name), a Norwegian male personal name * Even (surname) * Even (people), an ethnic group from Siberia and Russian Far East ** Even language, a language spoken by the Evens * Odd and Even, a solitaire game w ...
. 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.


References

Integer sequences {{numtheory-stub