To cite package ‘collatz’ in publications use:

Levett N (2026). collatz: Functions Related to the Collatz/Syracuse/3n+1 Problem. R package version 1.0.1, https://github.com/skenvy/collatz.

Corresponding BibTeX entry:

  @Manual{,
    title = {collatz: Functions Related to the Collatz/Syracuse/3n+1
      Problem},
    author = {Nathan Levett},
    year = {2026},
    note = {R package version 1.0.1},
    url = {https://github.com/skenvy/collatz},
  }