3 Going further

Mathematics allows us to take this even further. Suppose we continue filling in our sheet until we have \(n\) lines. We can then show that, as \(n\) becomes large, the quotient of line \(n\) divided by line \(n-1\) approaches the golden ratio—regardless of the values ​​of \(X\) and \(Y\): \[\phi=(1 + \sqrt{5})/2 \approx 1.618034.\]

This number is so named because of the large number of mathematical problems in which it appears (notably, it is one of the roots of the polynomial \(x^2-x-1\)) as well as the many other fields where it is found: architecture, biology, etc.

3.1 The Fibonacci sequence

Let us begin by defining the Fibonacci sequence.

The recurrence relation \(u_n=u_{n-1}+u_{n-2}\) allows us to find an explicit expression for \(u_n\) via the following proposition.

What are the values ​​of \(x_1\) and \(x_2\)? They are the solutions to \(x^2-x-1=0\). We have \[x^2-x-1=(x-\frac{1}{2})^2-\frac{1}{4}-1=(x-\frac{1}{2})^2-\frac{5}{4}=(x-\frac{1}{2})^2-(\frac{\sqrt{5}}{2})^2=(x-\frac{1}{2}-\frac{\sqrt{5}}{2})(x-\frac{1}{2}+\frac{\sqrt{5}}{2})\]

We thus conclude that the roots of \(x^2-x-1\) are \(x_1=\frac{1}{2}+\frac{\sqrt{5}}{2}=\frac{1+\sqrt{5}}{2}\) and \(x_2=\frac{1}{2}-\frac{\sqrt{5}}{2}=\frac{1-\sqrt{5}}{2}\). We note that \(x_1\) is none other than the golden ratio \(\phi\). In the following, we will denote \(\phi:=x_1\) and \(\phi_c:=x_2\).

It is easily observed that the initial conditions \(u_0=0\) and \(u_1=1\) imply \[\begin{cases} a_1+a_2=0\\ a_1\phi+a_2\phi_c=1 \end{cases} \Leftrightarrow \begin{cases} a_2=-a_1\\ a_1\frac{2\sqrt{5}}{2}=1 \end{cases} \Leftrightarrow \begin{cases} a_1=\frac{1}{\sqrt{5}}\\ a_2=-\frac{1}{\sqrt{5}} \end{cases} \]

We then have \[\begin{equation}\label{u_n} \forall n\in\mathbb{N},\,u_n=\frac{1}{{\sqrt{5}}}\left(\phi^n-\phi_c^n\right). \end{equation}\]

3.2 Connection to our problem

It is easily shown that, for any \(X\) and \(Y\), and for \(n\geq 1\), the result \(r_n\) obtained at line \(n\) satisfies \[ (\mathcal{H}_n): r_n=u_{n-1}X+u_{n}Y.\]

Based on what we have just proved and Lemma 1.1, we obtain, for any \(X\) and \(Y\):

\[\begin{equation}\label{ineg} \forall n\geq 2,\, \min\left(\frac{u_{n-1}}{u_{n-2}},\frac{u_{n}}{u_{n-1}}\right)\leq \frac{r_n}{r_{n-1}}= \frac{u_{n-1}X+u_{n}Y}{u_{n-2}X+u_{n-1}Y}\leq \max\left(\frac{u_{n-1}}{u_{n-2}},\frac{u_{n}}{u_{n-1}}\right) \end{equation}\]

Finally, let us prove that the quotients \(\frac{r_n}{r_{n-1}}\) converge to the golden ratio. Let’s start by proving that \(\lim_{n\rightarrow+\infty} \frac{u_n}{u_{n-1}}=\phi.\)

Finally from (\(\ref{ineg}\)) and \(\lim_{n\rightarrow+\infty} \frac{u_n}{u_{n-1}}=\phi\) we easily prove by the police theorem that \(\lim_{n\rightarrow+\infty} \frac{r_n}{r_{n-1}}=\phi\).

3.3 How many lines to know k numbers?

A closer look at what enabled the proof of convergence reveals that the convergence is exponential and, consequently, very rapid… Let us calculate, for example, the min and max bounds in (\(\ref{ineg}\))

    n            min            max                Gap
1   1             NA             NA                 NA
2   2             NA             NA                 NA
3   3 1.000000000000            Inf                Inf
4   4 1.000000000000 2.000000000000 1.000000000000e+00
5   5 1.500000000000 2.000000000000 5.000000000000e-01
6   6 1.500000000000 1.666666666667 1.666666666667e-01
7   7 1.600000000000 1.666666666667 6.666666666667e-02
8   8 1.600000000000 1.625000000000 2.500000000000e-02
9   9 1.615384615385 1.625000000000 9.615384615385e-03
10 10 1.615384615385 1.619047619048 3.663003663004e-03
11 11 1.617647058824 1.619047619048 1.400560224090e-03
12 12 1.617647058824 1.618181818182 5.347593582887e-04
13 13 1.617977528090 1.618181818182 2.042900919306e-04
14 14 1.617977528090 1.618055555556 7.802746566798e-05
15 15 1.618025751073 1.618055555556 2.980448259415e-05
16 16 1.618025751073 1.618037135279 1.138420555313e-05
17 17 1.618032786885 1.618037135279 4.348393268572e-06
18 18 1.618032786885 1.618034447822 1.660936435943e-06
19 19 1.618033813400 1.618034447822 6.344215566223e-07
20 20 1.618033813400 1.618034055728 2.423274287899e-07
21 21 1.618033963167 1.618034055728 9.256084765319e-08
22 22 1.618033963167 1.618033998522 3.535509685015e-08
23 23 1.618033985017 1.618033998522 1.350444533976e-08
24 24 1.618033985017 1.618033990176 5.158239169134e-09
25 25 1.618033988205 1.618033990176 1.970272167640e-09
26 26 1.618033988205 1.618033988958 7.525771117400e-10
27 27 1.618033988670 1.618033988958 2.874589455359e-10
28 28 1.618033988670 1.618033988780 1.097995028232e-10
29 29 1.618033988738 1.618033988780 4.193956293363e-11
30 30 1.618033988738 1.618033988754 1.601940802232e-11

Convergence is quite rapid; we can therefore determine how many lines are needed to know the first k digits of the result.

Correct digits 1. 1.6 1.61 1.618 1.6180 1.61803 1.618033 1.6180339
Lines required 6 7 10 15 15 17 22 22

For the online application, click the following link (https://laurent-delsol-idp.shinyapps.io/Fibonacci_Game/).