6

I have an assignment for tomorrow that ask me to prove that the sequence/function

$f(x) =\begin{cases}\dfrac x2\quad\quad\quad\text{if } x\text{ is even}\\3x+1\quad\;\text{if }x\text{ is odd}\end{cases}$

(where $x$ is a natural number)

will converge to $1$.

I have tried by hand and it seems to work but I have no idea where to start.

Thanks a lot.

Angelo
  • 12,328

1 Answers1

1

You are given a starting value $x_0\in{\mathbb N}$ and consider the integer sequence $(x_n)_{n\geq0}$ recursively defined by $$x_{n+1}:=f(x_n)\qquad(n\geq0)\ .$$ It is impossible that this sequence converges to $1$, because this would enforce $x_n=1$ for all large $n$, whereas $f(1)=4$.