0

How can i proof the below recurrence

$T_1 = 3,~~~~~~$ $T_n = T_{n-1} + 2$

is equal to this function $T_n = 2n + 1$?

JMoravitz
  • 79,518

2 Answers2

1

Let $P_n=2n+1$

Starting from $T_n=T_{n-1}+1$, we have

$$T_n-P_n=T_n-2n-1=T_{n-1}+2-2n-1=T_{n-1}-2(n-1)-1=T_{n-1}-P_{n-1}$$

So, the difference between the two sequences remains constant. Therefore, we have

$$T_n-P_n=T_1-P_1$$

CY Aries
  • 23,393
0

Let $S=\{n\in\Bbb N\setminus\{0\}\,:\, T_n\ne 2n+1\}$ and assume as a contradiction that $S\ne \emptyset$. Consider $m=\min S$.

Clearly, $m\ne 1$, because $T_1=3$.

However, if $m\ge 2$, then $T_{m-1}=2m-1$ and $T_m=T_{m-1}+2=2m-1+2=2m+1$. This cotradicts $m\in S$, thus proving $S=\emptyset$. QED.