I have been working on Collatz-like functions to test the probabilistic heuristic argument in favor of all trajectories being bounded (ending in a cycle) and have come up with a generalization to test this argument empirically. This leads me to two questions.
Let $f:\mathbb{N} \to\mathbb{N}$. The Collatz function states that the following iterated map will eventually equal to 1:
$$f(n) = \begin{cases} n/2, & \text{if}\ 2\mid n\\ 3n+1, & \text{otherwise} \\ \end{cases}$$
My generalization is as follows: Let $G:\mathbb{R} \to\mathbb{Z}$ defined as
$$G(x) = \begin{cases} x/2, & \text{if}\ 2\mid x\\ 2\lceil ax \rceil, & \text{otherwise} \\ \end{cases}$$
where $a, x \in \mathbb{R}$. The Collatz function is the case when $a = 1.5$. Likewise, the $5n+1$ problem is the case when $a=2.5$.
I conjecture in line with the heuristic argument that if $-2 \leq a \leq 2$ then for any $x_0$, repeated iteration of $G$ on $x_0$ will yield a bounded trajectory. However, if $a>2$ or $a<-2$, for some $x_0$, repeated iteration of $G$ on $x_0$ will yield an unbounded trajectory. Note, $G(x)$ is bounded if for all $x_0$ we end in a cycle whereas unbounded means that G has at least one trajectory that diverges to infinity.
Is this a known generalization of the Collatz function? I have check as much as I could and found only discontinuous generalizations such as 1, 2, and 3. On the other hand, $G(x)$ is continuous in the sense that it allows for both $x$ and $a$ to be any real numbers. Having this flexibility provides a way to test the probabilistic heuristic argument in favor of bounded trajectories by varying $a$ as close to 2 as possible, i.e. if $log(|a|) + log(1/2) < 0$, then for all $x_0$, iterations of $G(x)$ on $x_0$ will yield a cycle.
The function $H$ below is more global than $G$. Empirically, a bounded-unbounded point seems to exist for $H$ somewhere in the range $c \leq 2b^2$. Is there a better way to approximate the bounded-unbounded point for the generalization $H$ than testing different values of $c$ for a given value of $b$.
$$H(x) = \begin{cases} \frac{x}{b}, & \text{if}\ b\mid x\\ b\lceil \frac{cx}{b^2} \rceil, & \text{otherwise} \\ \end{cases}$$ where $b,c \in \mathbb{N}$. The Collatz function is when $b = 2$ and $c = 6$.
Using Excel, when $b=3$, for $c \leq 16$, H appears bounded for all $x$ but for $c \geq 17$ it appears unbounded. Similarly, when $b = 5$, for $c \leq 35$, H appears bounded for all $x$ but for $c \geq 36$ it appears unbounded. For $b=7$ the demarcation point appears to be $c=65$. Taking the ratio $\frac{c_{max}}{b^2}$ where $c_{max}$ is the bounded-unbounded demarcation point, gives
$\frac{c_{max}}{b^2}=2.0$ when $b = 2$
$\frac{c_{max}}{b^2}=1.8$ when $b = 3$
$\frac{c_{max}}{b^2}=1.5$ when $b = 4$
$\frac{c_{max}}{b^2}=1.4$ when $b = 5$
$\frac{c_{max}}{b^2}=1.4$ when $b = 6$
$\frac{c_{max}}{b^2}=1.3$ when $b = 7$
Seems that as $b \to \infty$ then, $\frac{c_{max}}{b^2}\to1$.
Any help will be greatly appreciated.
According to request of the asker, here is some Pari/GP -code, partly function-definitions, partly experimenting to get list of results.
Here we use two example bases, and call a loop, which checks for cycles in $a_0=1..999$ (only odd $a_0$) and cycle-lengthes of at most $10\,000$ iterations steps:
This gave the following protocol (base = $\pi-1$). Only odd numbers were documented (using function $g_1(x)$) :
and this is the version using $g(x)$ which allows to display even values in the orbit (which also means, the documented cycle-lengthes are longer than with $g_1(x)$):