Pell-Lucas Number Calculator

Number Theory

Pell-Lucas number Q(n)6,726
Previous term2,786
Next term16,238
Pell companion P(n)2,378
How this was calculated
  1. The Pell-Lucas numbers follow Q(n) = 2Q(n - 1) + Q(n - 2) from Q(0) = 2 and Q(1) = 2, the same recurrence as the Pell numbers with different seeds.
  2. Running the recurrence up to n = 10 gives Q(10) = 6,726. In closed form Q(n) = (1 + sqrt(2))^n + (1 - sqrt(2))^n, always an even integer.
  3. Term 10 of the Pell-Lucas numbers is 6,726. The term before it is 2,786 and the term after it is 16,238.
  4. The companion Pell number here is P(10) = 2,378, and the identity Q(n) = P(n - 1) + P(n + 1) = 985 + 5,741 = 6,726 checks the result.

The Pell-Lucas numbers are the companion sequence to the Pell numbers, exactly as the Lucas numbers accompany Fibonacci. They begin 2, 2, 6, 14, 34, 82, 198, 478, 1154, 2786 and 6726, doubling-ish their way upward under the recurrence P(n) = 2P(n - 1) + P(n - 2).

Their closed form is built from the silver ratio: the nth term is (1 + sqrt(2))^n + (1 - sqrt(2))^n. The second term is a small alternating fraction, so every Pell-Lucas number sits within a whisker of a pure power of the silver ratio - and is always even, being twice the half-companion sequence.

Enter an index n and the calculator evaluates the closed form, cross-checks it against the recurrence and against the Pell neighbours, and reports the previous and next terms. Companion sequences reward this double-entry treatment: two routes to the same integer leave little room for doubt.

Worked examples

Tenth term

(10)

Pell-Lucas number Q(n)6,726
Previous term2,786
Next term16,238
Pell companion P(n)2,378

Seventh term

(7)

Pell-Lucas number Q(n)478
Previous term198
Next term1,154
Pell companion P(n)169

Fifth term

(5)

Pell-Lucas number Q(n)82
Previous term34
Next term198
Pell companion P(n)29

The companion idea

The Pell numbers 0, 1, 2, 5, 12, 29 satisfy P(n) = 2P(n - 1) + P(n - 2). The Pell-Lucas numbers run the same recurrence from seeds 2, 2. The pairing mirrors Fibonacci and Lucas, with the silver ratio 1 + sqrt(2) playing the role the golden ratio plays there.

The families interlock tightly: each Pell-Lucas term is the sum of its Pell neighbours, P(n - 1) + P(n + 1) in Pell terms, and also twice a Pell sum. The calculator's steps show the neighbour identity for your index, so the relationship is verified numerically on every use.

Practically, the doubling identity and the divisibility rules make the family auditable at any size: a claimed large term can be reduced by repeated halving of its index until it reaches a term small enough to check against the printed sequence. Few sequences let a reader verify a ten-digit value with nothing but the first ten terms and two identities - that verifiability is the practical charm of the Lucas-type families.

The silver-ratio closed form

(1 + sqrt(2))^n + (1 - sqrt(2))^n looks irrational, but the irrational parts cancel exactly, leaving an integer every time. For n = 10 the value is 6726. The conjugate term (1 - sqrt(2))^n alternates in sign and shrinks towards zero, which is why the sequence hugs the silver-ratio powers so closely.

A closed form makes growth transparent: the ratio of consecutive terms tends to 1 + sqrt(2), about 2.414. It also computes large indices in one substitution, where the recurrence would need every term in between.

The first terms

The sequence opens 2, 2, 6, 14, 34, 82, 198, 478, 1154, 2786, 6726. Every term is even - the sequence is exactly twice 1, 1, 3, 7, 17, 41, 99, the half-companion Pell sequence, which is why some tables list the halved version instead.

Halving matters when comparing sources: if a table shows 17 where you expect 34, it is listing the half-companion. This calculator uses the full Pell-Lucas convention, seeds 2 and 2, and states so in its steps.

One more pattern for the road: like all Lucas-type sequences, the Pell-Lucas numbers obey divisibility rules - L(m) divides L(n) whenever n / m is an odd integer, a property inherited from the closed form's factorisation. The smallest illustration: L(3) = 14 divides L(9) = 2786, and indeed 2786 / 14 = 199 exactly. The even-ratio case pointedly fails, as it should: L(5) = 82 does not divide L(10) = 6726. Rules like this turn the sequence from a list into a structure, and they are the reason companion sequences reward algebra over mere computation.

A worked example

Take n = 10. The closed form gives 6726, and the recurrence route agrees: 2 x 2786 + 1154 = 6726. The Pell identity gives a third route: the Pell neighbours of index 10 sum to the same value.

A smaller example shows the halving: n = 5 gives 82, twice the half-companion value 41. The neighbours at that index are 34 and 198, and the calculator displays all of them so the local growth - roughly times 2.414 per step - is visible.

Where Pell-Lucas numbers show up

They appear wherever the Pell equation x^2 - 2y^2 = 1 is studied: its solutions are built from the silver-ratio powers, and Pell-Lucas terms give the x-coordinates in closed form. Rational approximations to sqrt(2) - 3/2, 7/5, 17/12, 41/29 - are ratios drawn from this family and its companions.

The same numbers count in tiling and recurrence problems governed by the characteristic roots 1 + sqrt(2) and 1 - sqrt(2). Any linear recurrence with those roots is a mixture of the Pell and Pell-Lucas sequences, chosen by its seeds.

Pell, Pell-Lucas and the half-companion

Three sequences share this recurrence and are routinely confused. Pell: 0, 1, 2, 5, 12. Pell-Lucas: 2, 2, 6, 14, 34. Half-companion: 1, 1, 3, 7, 17 - exactly half of Pell-Lucas. Knowing which convention a source uses is half the battle in checking any quoted value.

The calculator removes the ambiguity by construction: it states its seeds, shows the recurrence check, and shows the Pell-neighbour identity, so a value can be matched against any of the three conventions in seconds.

A doubling identity

Companion sequences repay study with identities the plain sequence cannot match. For Pell-Lucas: L(2n) = L(n)^2 - 2 x (-1)^n. At n = 5: 82^2 - 2 x (-1)^5 = 6724 + 2 = 6726 = L(10). At n = 2: 6^2 - 2 = 34 = L(4). One squaring doubles the index - the fastest route to large terms this family offers.

The identity is the closed form in disguise: squaring (1 + sqrt(2))^n + (1 - sqrt(2))^n produces the doubled power plus a cross term of 2 x (-1)^n. Watching an algebraic identity survive three numeric checks is the working method of this whole page - the calculator applies the same discipline to every value it prints.

Approximating the square root of 2

Divide a Pell-Lucas term's neighbour structure into ratios and sqrt(2) appears. The convergents 3/2, 7/5, 17/12, 41/29, 99/70 come from the half-companion sequence, and each is the best rational approximation to sqrt(2) for its denominator size - the continued fraction of sqrt(2) generates exactly this ladder.

The full Pell-Lucas terms govern the other half of the Pell equation story: solutions of x^2 - 2y^2 = 1 have x-coordinates given by the halved Pell-Lucas values at even indices. A sequence that began as a companion for its own sake ends up parametrising one of the oldest Diophantine equations in mathematics.

Negative indices and symmetry

The closed form extends the sequence backwards without any new work: replacing n by -n in (1 + sqrt(2))^n + (1 - sqrt(2))^n multiplies the value by (-1)^n, because the product of the two conjugate bases is -1. So L(-5) = -82 and L(-10) = 6726 - the sequence is symmetric up to sign, a property the recurrence alone would never have suggested.

That symmetry is a fingerprint of companion sequences generally: the Lucas numbers share it, and so do the Jacobsthal-Lucas numbers on this site, whose closed form 2^n + (-1)^n shows the same behaviour with the roles of the bases shuffled. One construction, many families.

Common mistakes

The commonest slip is quoting a half-companion value as a Pell-Lucas value - 41 instead of 82 at n = 5. The second is a recurrence slip: the Pell recurrence doubles the previous term and adds the one before, P(n) = 2P(n - 1) + P(n - 2), and swapping the coefficients produces a different sequence entirely.

A third is rounding the closed form too early: the conjugate term is small but not zero, and dropping it before the final step can shift the result off the true integer. The calculator keeps full precision until the integer is read off.

FAQs

What is a Pell-Lucas number?

The companion of the Pell numbers: (1 + sqrt(2))^n + (1 - sqrt(2))^n, satisfying P(n) = 2P(n - 1) + P(n - 2) from seeds 2 and 2.

What is the 10th Pell-Lucas number used here?

6726, at index n = 10 with P(0) = 2.

What is P(7)?

478.

Why are Pell-Lucas numbers always even?

Each term is twice the corresponding half-companion term: the sequence is 2, 2, 6, 14, 34, 82, twice 1, 1, 3, 7, 17, 41.

How do Pell-Lucas numbers relate to Pell numbers?

Each Pell-Lucas term equals the sum of the neighbouring Pell terms, and both families share the recurrence and the silver ratio.

What ratio do consecutive terms approach?

The silver ratio 1 + sqrt(2), about 2.414.

Where do Pell-Lucas numbers appear?

In the Pell equation x^2 - 2y^2 = 1, in rational approximations to sqrt(2), and in recurrences with characteristic roots 1 +/- sqrt(2).

What recurrence do they satisfy?

P(n) = 2P(n - 1) + P(n - 2).

What is the doubling identity for Pell-Lucas numbers?

L(2n) = L(n)^2 - 2 x (-1)^n - for example L(10) = 82^2 + 2 = 6726.

How do Pell-Lucas numbers approximate sqrt(2)?

Through their half-companion ratios - 3/2, 7/5, 17/12, 41/29 - the continued-fraction convergents to sqrt(2).

Sources

Related calculators

Confidence Interval Calculator
The range around a sample mean or a sample proportion at 90%, 95% or 99% confidence, with the standard error and margin of error shown step by step.
Logistic Growth Calculator
S-curve growth toward a carrying capacity — population, adoption or market size at any point in time.
Sphenic Number Calculator
Test whether a number is sphenic - the product of exactly three distinct primes - with its factorization and the next sphenic number.