Why are the trajectories always the same for numbers of the form $3^{2k}-1$ and $3^{2k-1}-1$ for the Collatz function?
For example, let $k = 3$. So, $3^6-1 = 728$ and $3^5-1 = 242$. The trajectories are
242
728 121
364 364 same trajectory starts
182 182
91 91
274 ...
137
412
206
103
310
155
...
Calculating modulo 4 we have $3^{2k-1}-1 \equiv 2 \pmod 4$ for all $k$.
So starting at $3^{2k-1}-1$ we will always do exactly one halving step before the next "$\times\,3+1"$ step. The result of those two steps are $$ \frac32 (3^{2k-1}-1) + 1 = \frac12 3^{2k} - \frac32 + 1 = \frac{3^{2k}-1}{2} $$ which is also the first step after $3^{2k}-1$, at which point the two sequences have converged.