set of tools for playing around with the collatz conjecture
Project description
This package is a set of utilities for dealing with the collatz conjecture
Contents
The package contains two functions. The first is reduce(), which takes the integer or list of integers in and returns the collapsed solution. The second is tree(), which takes in an integer and returns the collatz tree from the starting value specified.
If you want to learn more about the functions, simply import collatz and either look for the help on collatz.tree() or collatz.reduce().
Why
There’s no package for it, so might as well make one. Let me know of any features you may want to see. Thanks and enjoy!
Changelog
0.0.0 The start
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.