Question:
Consider the sequence of integers $T_n$ , where $n ∈ N$ defined by the recurrence relation $T_0 = 2$ , $T_{n+1} = T_n^2 - T_n + 1$ (for $n ∈ N$).
Show that for any $m$ , $n ∈ N$ with $m$ not equals to $n$, one has $\gcd(T_m , T_n) = 1$.
Answer: I show by induction that the statement P(n) : $T_n$=$T_0$$T_1$$T_2$...$T_{n-1}$ + 1 is true for n ≥ 1.
When n = 1,
$T_1$ = $T_0$ + 1 = 3.
Therefore, P(1) is true.
Assume P(k) is true for k ≥ 2.
To prove P(k+1) is true, i.e : $T_{k+1}$=$T_0$$T_1$$T_2$...$T_{k}$ + 1 .
RHS : $T_{k+1}$ = $T_n^2$ - $T_n$ + 1 = ($T_0$$T_1$$T_2$...$T_{k-1}$ + 1)^2 - ($T_0$$T_1$$T_2$...$T_{k-1}$ + 1) + 1 = $T_k^2$.
There are quite a few problems with what you’ve written. For starters, when $T_n=1$, $T_{n+1}=1^2-1+1=1$, not $0$. And any integer is divisible by $1$; no argument is required to justify that. And in fact $T_4=1807=13\cdot139$ is not prime.
HINT: $T_{n+1}=T_n^2-T_n+1=T_n(T_n-1)+1$, so $1=T_{n+1}-T_n(T_n-1)$. If $d\mid T_{n+1}$ and $d\mid T_n$, what does this equation tell you about $d$?