Define a function f:N→N as follows.
f(n)={2n if n is even, and 3n+1 if n is odd.
We can use this function to define a recursive sequence with initial condition c1∈N , and ck+1=f(ck).
For example, if c1=5, then (ck)=(5,16,8,4,1,1,4,2,1,…).
Now you try. Fill in the table below.
If you were to try lots of different initial conditions, you will probably guess the following.
Conjecture: For any choice of initial c1∈N, the sequence (ck) will eventually output 1.
This is called the Collatz conjecture. Nobody knows if it is true or false, but the statement has been checked for all starting values up to 87×260.
For more information, click here.