3.1. The modified Sarkovskii ordering and integer lattice
We remove the last row number to the first column, get an integer lattice[6] of the modified Sarkovskii ordering as
In the first row, its are odd number from left to right, that are , from the second row, each number is multiplying each number in its previous row by 2, and so on.
3.2. The algebraic formula and Collatz graph
If we draw a line segment of arrow between two digits in the lattice of integer in the modified Sarkovskii ordering, those are the original value
x, and its value of Collatz function
, and connect
to
, and so on
to
, thus we get a graph, which can be called as
Collatz graph. Using the Collatz function
, We obtain an algebraic formula of
. Here
r is the number of perpendicular segments,
m is the oblique segments in the Collatz graph,
For example,
, the algebraic formula is
and the Collatz graph is
Figure 1.
And
, the algebraic formula is
and the Collatz graph is
Figure 2.