Skip to main content

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


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().


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!


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.

Files for collatz, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size collatz-0.0.1-py3-none-any.whl (15.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size collatz-0.0.1.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page