Skip to content

collatz

Functions Related to the Collatz/Syracuse/3n+1 Problem

v1.0.0 · Sep 5, 2022 · Apache License (== 2.0)

Description

Provides the basic functionality to interact with the Collatz conjecture. The parameterisation uses the same (P,a,b) notation as Conway's generalisations. Besides the function and reverse function, there is also functionality to retrieve the hailstone sequence, the "stopping time"/"total stopping time", or tree-graph. The only restriction placed on parameters is that both P and a can't be 0. For further reading, see <https://en.wikipedia.org/wiki/Collatz_conjecture>.

Downloads

205

Last 30 days

16179th

402

Last 90 days

402

Last year

Trend: +4.1% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Nathan Levett <nathan.a.z.levett@gmail.com>’

The BugReports field in DESCRIPTION has
  https://github.com/Skenvy/Collatz/issues/new/choose
which should likely be
  https://github.com/Skenvy/Collatz/issues/new/choose/issues
instead.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Nathan Levett <nathan.a.z.levett@gmail.com>’

The BugReports field in DESCRIPTION has
  https://github.com/Skenvy/Collatz/issues/new/choose
which should likely be
  https://github.com/Skenvy/Collatz/issues/new/choose/issues
instead.
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Nathan Levett <nathan.a.z.levett@gmail.com>’

The BugReports field in DESCRIPTION has
  https://github.com/Skenvy/Collatz/issues/new/choose
which should likely be
  https://github.com/Skenvy/Collatz/issues/new/choose/issues
instead.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Nathan Levett <nathan.a.z.levett@gmail.com>’

The BugReports field in DESCRIPTION has
  https://github.com/Skenvy/Collatz/issues/new/choose
which should likely be
  https://github.com/Skenvy/Collatz/issues/new/choose/issues
instead.

Dependency Network

Dependencies Reverse dependencies gmp collatz

Version History

new 1.0.0 Mar 9, 2026