Bayesian Modeling of Collatz Stopping Times: A Probabilistic Machine Learning Perspective
Abstract
We study the Collatz total stopping time over from a probabilistic machine learning viewpoint. Empirically, is a skewed and heavily overdispersed count with pronounced arithmetic heterogeneity. We develop two complementary models. First, a Bayesian hierarchical Negative Binomial regression (NB2-GLM) predicts from simple covariates ( and residue class ), quantifying uncertainty via posterior and posterior predictive distributions. Second, we propose a mechanistic generative approximation based on the odd-block decomposition: for odd , write with odd and ; randomizing these block lengths yields a stochastic approximation calibrated via a Dirichlet-multinomial update. On held-out data, the NB2-GLM achieves substantially higher predictive likelihood than the odd-block generators. Conditioning the block-length distribution on markedly improves the generator's distributional fit, indicating that low-order modular structure is a key driver of heterogeneity in .
Keywords
Cite
@article{arxiv.2603.04479,
title = {Bayesian Modeling of Collatz Stopping Times: A Probabilistic Machine Learning Perspective},
author = {Nicolò Bonacorsi and Matteo Bordoni},
journal= {arXiv preprint arXiv:2603.04479},
year = {2026}
}