HOTPO = "half or triple plus one".
Collatz conjecture. http://oeis.org/A006577
Scientific American article: https://paperpile.com/app/p/b96eca8c-0ac1-0aa8-96f6-1c2ee37aca2d
See the main document
Rscript hotpo.R
julia hotpo.jl
Update, thanks to Yujia Liu. If you are working on Windows with Rcpp, you will need to change "long int x" to "long long int x". the size of integers depends on compilers. reference. If you can, I'd advise windows users to use WSL2.