collatz
Functions Related to the Collatz/Syracuse/3n+1 Problem
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.
- Version1.0.0
- R version≥ 3.5.0
- LicenseApache License (== 2.0)
- Needs compilation?No
- Last release09/05/2022
Documentation
Team
Nathan Levett
Insights
Last 30 days
This package has been downloaded 216 times in the last 30 days. Enough downloads to make a small wave in the niche community. The curiosity is spreading! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 8 times.
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Last 365 days
This package has been downloaded 2,716 times in the last 365 days. Consider this 'mid-tier influencer' status—if it were a TikTok, it would get a nod from nieces and nephews. The day with the most downloads was Jan 21, 2025 with 31 downloads.
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Data provided by CRAN
Binaries
Dependencies
- Depends1 package
- Suggests10 packages