Math 2.0

Number theory Example

Pell numbers

Example

The Pell numbers PnP_n are the solution of Pn+2=2Pn+1+Pn(n≥0)P_{n+2} = 2 P_{n+1} + P_n \qquad (n \ge 0) with P0=0P_0 = 0 and P1=1P_1 = 1. The first terms are 0,1,2,5,12,29,70,169,…0, 1, 2, 5, 12, 29, 70, 169, \dots. The characteristic polynomial X2−2X−1X^2 - 2X - 1 has roots 1±21 \pm \sqrt{2}, which gives Pn=(1+2)n−(1−2)n22.P_n = \frac{(1 + \sqrt{2})^n - (1 - \sqrt{2})^n}{2\sqrt{2}}. Check: the formula solves the recurrence, since each root qq satisfies q2=2q+1q^2 = 2q + 1; it gives P0=0P_0 = 0 and P1=22/(22)=1P_1 = 2\sqrt{2}/(2\sqrt{2}) = 1. They form the Lucas sequence Un(2,−1)U_n(2, -1).

Let HnH_n be the solution of the same recurrence with H0=H1=1H_0 = H_1 = 1, so Hn=1,1,3,7,17,41,99,…H_n = 1, 1, 3, 7, 17, 41, 99, \dots. Then Hn2−2Pn2=(−1)nH_n^2 - 2 P_n^2 = (-1)^n. For example 32−2⋅22=13^2 - 2 \cdot 2^2 = 1 and 72−2⋅52=−17^2 - 2 \cdot 5^2 = -1. So the pairs (Hn,Pn)(H_n, P_n) give solutions of the Pell equations x2−2y2=±1x^2 - 2y^2 = \pm 1, and Hn/PnH_n / P_n tends to 2\sqrt{2}.

Further reading

  1. Web https://en.wikipedia.org/wiki/Pell_number
About this page
TagJY4ZN779YG
URIm2://JY4ZN779YG
Kindexample
WritingW0 stub
MSC11B39, 39A06
Instance ofSolution of a linear recurrence
Same as

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.