Advertisement

Binary Expression of Ancestors in the Collatz Graph

Conference paper
  • 102 Downloads
Part of the Lecture Notes in Computer Science book series (LNCS, volume 12448)

Abstract

The Collatz graph is a directed graph with natural number nodes and where there is an edge from node x to node \(T(x)=T_0(x)=x/2\) if x is even, or to node \(T(x)=T_1(x)=\frac{3x+1}{2}\) if x is odd. Studying the Collatz graph in binary reveals complex message passing behaviors based on carry propagation which seem to capture the essential dynamics and complexity of the Collatz process. We study the set \(\mathcal {E}\text {Pred}_k(x)\) that contains the binary expression of any ancestor y that reaches x with a limited budget of k applications of \(T_1\). The set \(\mathcal {E}\text {Pred}_k(x)\) is known to be regular, Shallit and Wilson [EATCS 1992]. In this paper, we find that the structure of the Collatz graph naturally leads to the construction of a regular expression, \(\texttt {reg}_{k}(x)\), which defines \(\mathcal {E}\text {Pred}_k(x)\). Our construction, is exponential in k which improves upon the doubly exponentially construction of Shallit and Wilson. Furthermore, our result generalises Colussi’s work on the \(x = 1\) case [TCS 2011] to any natural number x, and gives mathematical and algorithmic (Code available here: https://github.com/tcosmo/coreli.) tools for further exploration of the Collatz graph in binary.

Notes

Acknowledgement

Many thanks to Jose Capco, Damien Woods, Pierre-Étienne Meunier and Turlough Neary for their kind help, interest and feedback on this project. We also thank Jeffrey C. Lagarias for his surveys on the Collatz problem ( [16] and [17]). We thank the OEIS, always of great help. Finally, sincere thanks to the anonymous reviewers. Their comments were very helpful, for instance making us realise the exponential gain of our construction compared to previous literature.

References

  1. 1.
    Barina, D.: Convergence verification of the Collatz problem. J. Supercomputing (2020).  https://doi.org/10.1007/s11227-020-03368-x
  2. 2.
    Blazewicz, J., Pettorossi, A.: Some properties of binary sequences useful for proving Collatz’s conjecture. Found. Control Eng. 8, 53–63 (1983)MathSciNetzbMATHGoogle Scholar
  3. 3.
    Bruschi, M.: Two cellular automata for the 3x+1 map (2005)Google Scholar
  4. 4.
    Capco, J.: Odd Collatz sequence and binary representations, preprint, March 2019. https://hal.archives-ouvertes.fr/hal-02062503
  5. 5.
    Cloney, T., Goles, E., Vichniac, G.Y.: The 3x+1 problem: a quasi cellular automaton. Complex Syst. 1(2), 349–360 (1987)zbMATHGoogle Scholar
  6. 6.
    Colussi, L.: The convergence classes of Collatz function. Theoret. Comput. Sci. (2011).  https://doi.org/10.1016/j.tcs.2011.05.056
  7. 7.
    Conway, J.: Unpredictable iterations. In: Number Theory Conference (1972)Google Scholar
  8. 8.
    Foundation, O.: The Online Encyclopedia of Integer Sequences. A083667 (2020)Google Scholar
  9. 9.
    Franco, Z., Pomerance, C.: On a conjecture of Crandall concerning the \(qx + 1\) problem. Math. Comput. 64(211), 1333–1336 (1995). http://www.jstor.org/stable/2153499
  10. 10.
    Goodwin, J.R.: The 3x+1 problem and integer representations (2015)Google Scholar
  11. 11.
    Gruber, H., Holzer, M.: From finite automata to regular expressions and back-a summary on descriptional complexity. Electron. Proc. Theoret. Comput. Sci. 151 (2014).  https://doi.org/10.4204/EPTCS.151.2
  12. 12.
    Hew, P.C.: Working in binary protects the repetends of 1/3\({}^{\text{h}}\): comment on Colussi’s ‘The convergence classes of Collatz function’. Theoret. Comput. Sci. 618, 135–141 (2016).  https://doi.org/10.1016/j.tcs.2015.12.033
  13. 13.
    Koiran, P., Moore, C.: Closed-form analytic maps in one and two dimensions can simulate universal Turing machines. Theoret. Comput. Sci. 210(1), 217–223 (1999).  https://doi.org/10.1016/s0304-3975(98)00117-0MathSciNetCrossRefzbMATHGoogle Scholar
  14. 14.
    Kurtz, S.A., Simon, J.: The undecidability of the generalized Collatz problem. TAMC 2007, 542–553 (2007).  https://doi.org/10.1007/978-3-540-72504-6_49MathSciNetCrossRefzbMATHGoogle Scholar
  15. 15.
    Lagarias, J.C.: The 3x + 1 problem and its generalizations. Am. Math. Monthly 92(1), 3–23 (1985). http://www.jstor.org/stable/2322189MathSciNetCrossRefGoogle Scholar
  16. 16.
    Lagarias, J.C.: The 3x+1 problem: an annotated bibliography (1963–1999) (sorted by author) (2003)Google Scholar
  17. 17.
    Lagarias, J.C.: The 3x+1 problem: an annotated bibliography, ii (2000–2009) (2006)Google Scholar
  18. 18.
    López, J., Stoll, P.: The 2-adic, binary and decimal periods of 1/3k approach full complexity for increasing k. Integers [electronic only] 5 (2012).  https://doi.org/10.1515/integers-2012-0013
  19. 19.
    Monks, K.: The sufficiency of arithmetic progressions for the 3x + 1 conjecture. Proc. Am. Math. Soc. 134 (2006).  https://doi.org/10.2307/4098142
  20. 20.
    Shallit, J., Wilson, D.A.: The “3x + 1” problem and finite automata. Bull. EATCS 46, 182–185 (1992)zbMATHGoogle Scholar
  21. 21.
    Stérin, T., Woods, D.: The Collatz process embeds a base conversion algorithm. In: Schmitz, S., Potapov, I. (eds.) 14th International Conference on Reachability Problems. LNCS, Springer (2020, to appear). https://arxiv.org/abs/2007.06979v2
  22. 22.
    Stérin, T.: Binary expression of ancestors in the Collatz graph (2020). Expanded version. https://arxiv.org/abs/1907.00775v4
  23. 23.
    Terras, R.: A stopping time problem on the positive integers. Acta Arithmetica 30(3), 241–252 (1976). http://eudml.org/doc/205476MathSciNetCrossRefGoogle Scholar
  24. 24.
    Wirsching, G.J.: The Dynamical System Generated by the 3n + 1 Function. Springer, Heidelberg (1998).  https://doi.org/10.1007/BFb0095985CrossRefzbMATHGoogle Scholar

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  1. 1.Hamilton Institute, Department of Computer ScienceMaynooth UniversityCounty KildareIreland

Personalised recommendations