Testing an ECF

A simple ECF test using the table

We have seen a relationship of numbers in different rows within a column in the previous section. This actually provides a rather handy method to test whether some ECF may be valid for some trajectory that starts with a given number.

Let us re-write the formula from before:

β(n+k,ρ)=β(n,ρ)+k3m2pm\beta(n + k, \rho) = \beta(n, \rho) +k\frac{3^{m}}{2^{p_m}}

Now, let us reinterpret this by rewriting n=1n=1 and k=n1k=n-1 as follows:

β(n,ρ)=β(1,ρ)+(n1)3m2pm\beta(n, \rho)=\beta(1, \rho)+(n-1)\frac{3^m}{2^{p_m}}

Recall that if ECF belongs to the Collatz sequence of a number, then the terminating number would be 1. So, we could assume β(n,ρ)=1\beta(n, \rho)=1 and then rewrite the equation above:

1=β(1,ρ)+(n1)3m2pm1=\beta(1, \rho)+(n-1)\frac{3^m}{2^{p_m}}
n=2pm3m(1β(1,ρ))+1n=\frac{2^{p_m}}{3^m}\left(1-\beta(1,\rho)\right)+1

If this equation holds, then ρ\rho is indeed the ECF of the Collatz sequence for nn.

Last updated