Show that there is a unique sequence of positive integers $(a_n)$ satisfying $a_1=1,a_2=2,a_4=12,a_{n+1}a_{n-1}=a_n^2\pm 1 $

285 Views Asked by At

Show that there is a unique sequence of positive integers $(a_n)$ satisfying the following conditions.
$$a_1=1,a_2=2,a_4=12,a_{n+1}a_{n-1}=a_n^2\pm 1$$

I approached the problem to find out,

$a_3=4 \pm 1$
$a_2a_4=a_3^2\pm1 \implies 24\mp1=a_3^2 \implies a_3=5$ as $a_n \in \mathbb{N}$
I could not do anything more. Even, I could not understand what should I show to prove that the sequence is unique. Please help.

2

There are 2 best solutions below

0
On

Hint: For uniqueness, let $a_n$ and $b_n$ be two different sequences which satisfy the conditions. Suppose the first point at which they differ is $n+1$ - you know $n$ is at least $3$ because the sequences agree up to the fourth term. Then follow through the implications of that. It is useful to prove existence first because you may need to know something about the size of the terms.

Hint: for existence the sequence $1,2,5,12 \dots$ satisfies a simple linear recurrence relation, which can be used to show by induction that there is always a next term, and can be used to determine the general term.

The sequence is well known in other contexts - Pell's equation and continued fractions - where it is paired with $1,3,7,17 \dots$

0
On

Suppose that after $a_n$, that both possible values of $a_{n+1}$ , $\frac{a_n\,^2 - 1} {a_{n-1}}$ and $\frac{a_n\,^2 + 1} {a_{n-1}}$, are both integers.

Then $$\begin{cases} a_{n-1} | a_n\,^2 - 1 \\ a_{n-1} | a_n\,^2 + 1 \end{cases}$$

So $a_{n-1}$ can only be $1$ or $2$ if the sequence forks into to valid sequences after $a_n$. So if the sequence is increasing, then it is unique for $a_{n-1} > 2$.

For existence, just look at the sequence mechanically first:

$$\begin{array} {c|c} n & a_n \\ \hline 1 & 1 \\ 2 & 2 \\ 3 & 5 \\ 4 & 12 \\ 5 & 29 \\ 6 & 70 \\ 7 & 169 \end{array}$$

It seems to be geometric with a ratio of $\frac {169} {70} \text{ is about } 2.414 \text{ is about } 1 + \sqrt{2}$. Checking $a_n = x(1 + \sqrt{2})^n + y (1 - \sqrt{2})^n$ gets $x = 2^{-3/2}, y = -2^{-3/2}$.

Final verification of existence, put value of $a_n$ into: $$a_n = \frac{a_{n-1}\,^2 - (-1)^n} {a_{n-2}}$$