2.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.
2.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. For different integer
m,
n, besides 1, 4, 2, there is not other common vertices in their Collatz graphs. 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.