Skip to main content

Analysis of a Collatz Game and Other Variants of the \(3n+1\) Problem

  • Conference paper
  • First Online:
Advances in Computer Games (ACG 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14528))

Included in the following conference series:

  • 95 Accesses

Abstract

Introduced and discussed are new variants of the \(3n+1\) problem, in particular a 2-player game with moves \(3n+1\) and \(3n-1\) and subsequent halving, where the player is winner who first reaches the 1. Variants of the classical \(3n+1\) problem are discussed with respect to a general convergence conjecture. Finally, we set up prizes for solutions of the Collatz problem and simpler variants.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    See http://www.ericr.nl/wondrous/index.html for further interesting facts.

  2. 2.

    Prizes offered only for solutions submitted until December 31, 2037. Prizes offered only for the first solution. Legal actions are excluded.

  3. 3.

    https://www.althofer.de/collatz-prizes.html.

References

  1. Gardner, M.: Miscellany of transcendental problems-simple to state but not at all easy to solve. Sci. Am. 226(6), 114 (1972)

    Article  Google Scholar 

  2. Guy, R.K.: Unsolved Problems in Number Theory, 3rd edn., pp. 330–336. Springer, New York (2004)

    Google Scholar 

  3. Lagarias, J.C.: The Ultimate Challenge: The 3x+1 Problem. Monograph Books. American Mathematical Society (2010)

    Google Scholar 

  4. Ogilvy, C.S.: Tomorrow’s Math: Unsolved Problems for the Amateur. Oxford University Press (1972)

    Google Scholar 

  5. Ströhlein, T.: Untersuchungen über kombinatorische Spiele. Ph.D. thesis, Technische Hochschule München (1970)

    Google Scholar 

  6. Tao, T.: Almost all orbits of the collatz map attain almost bounded values. arXiv e-prints, pages arXiv-1909 (2019)

    Google Scholar 

  7. Thompson, K.: Retrograde analysis of certain endgames. J. Int. Comput. Games Assoc. 9(3), 131–139 (1986)

    MathSciNet  Google Scholar 

  8. Woess, W.: Random Walks on Infinite Graphs and Groups. 138, Cambridge University Press (2000)

    Google Scholar 

Download references

Acknowledgments

Thanks to Frank Brenner, Horst Wandersleben, Wolfgang Woess, and Eric Roosendaal for further computations and discussions. Furthermore, we thank the anonymous reviewers for their constructive comments.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ingo Althöfer .

Editor information

Editors and Affiliations

A Random Walks with Drift

A Random Walks with Drift

Given is the discrete strip of natural numbers, where each number \(i > 0\) has neighbors \(i-1\) and \(i+1\), and \(i=0\) is an absorbing state. Let there be a discrete set of times steps \(t \in \mathbb {N}\). A particle starts at some number n and goes to a random neighbor in each discrete time step, independently of the former steps. In the case without drift the particle goes in time step t from \(i>0\) to \(i-1\) with probability 0.5 and to \(i+1\) also with probability 0.5, independently of its history. It is well known that the particle will reach state 0 sooner or later with probability 1, and that the expected number of steps until absorption is infinite, even for starting state n = 1 [Woe00].

In a model with uniform drift, there is some \(\epsilon \in [-\frac{1}{2},\frac{1}{2}]\), such that a particle standing on \(i>0\) goes to \(i-1\) with probability \(0.5+\epsilon \) and to \(i+1\) with probability \(0.5-\epsilon \). In case of an \(\epsilon >0\) the particle has a drift towards 0, and for \(\epsilon <0\) a drift towards infinity.

Theory says [Woe00]: For \(\epsilon > 0\) and any starting number the particle will reach 0 with probability 1 earlier or later in finitely many steps. For \(\epsilon < 0\) and starting number \(n_0\) there exists a value \(q(\epsilon , n_0) < 1\), such that the particle will be absorbed at 0 with probability \(q(\epsilon , n_0)\) and goes to infinity with the remaining probability \(1 - q(\epsilon , n_0)\).

In a more general setting the particle can for instance jump from i to \(i-3\), \(i-2\), \(i-1\), i, \(i+1\), \(i+2\), \(i+3\), and \(i+4\) with probabilities \(p(-3)\), \(p(-2)\), \(p(-1)\), p(0), p(1), p(2), p(3), and p(4), respectively. If \(3p(-3) + 2p(-2) + 1p(-1) > 1p(1) + 2p(2) + 3p(3) + 4p(4)\), the particle is drifting towards the left, i.e. towards zero. In this case it will be absorbed by 0 (or negative numbers) with probability 1 in the long run.

In the stochastic Collatz variant with logarithmic scale the particle is approximately jumping from its current state \(n_t\) to \(n_t + \log (\frac{3}{2})\), \(n_t + \log (\frac{3}{4})\), \(n_t + \log (\frac{3}{8})\), \(n_t + \log (\frac{3}{16})\), \(\ldots \) with probabilities \(\frac{1}{2}\), \(\frac{1}{4}\), \(\frac{1}{8}\), \(\frac{1}{16}\), \(\ldots \), respectively. Observe that \(\log (\frac{3}{4})\), \(\log (\frac{3}{8})\),... are all negative numbers. And \(\frac{1}{2} \log (\frac{3}{2})+\frac{1}{4} \log (\frac{3}{4})+\frac{1}{4} \log (\frac{3}{8}) = \frac{1}{4} \log (\frac{3^4}{ 2^2\cdot 4\cdot 8}) = \frac{1}{4} \log (\frac{81}{128}) < 0\). The jumping widths are only approximately \(\log (\frac{3}{2})\), \(\log (\frac{3}{4})\), \(\log (\frac{3}{8})\), \(\ldots \), due to the ‘+1’ term in \(3n+1\). However, for large values of \(n_t\), this deviation is almost meaningless.

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Althöfer, I., Hartisch, M., Zipproth, T. (2024). Analysis of a Collatz Game and Other Variants of the \(3n+1\) Problem. In: Hartisch, M., Hsueh, CH., Schaeffer, J. (eds) Advances in Computer Games. ACG 2023. Lecture Notes in Computer Science, vol 14528. Springer, Cham. https://doi.org/10.1007/978-3-031-54968-7_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-54968-7_11

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-54967-0

  • Online ISBN: 978-3-031-54968-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics