Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/michaelsdavid/collatz-conjecture-visualization

A visualization of the Collatz Conjecture for any initial positive integer, n, checking until the sequence eventually narrows down to 1.
https://github.com/michaelsdavid/collatz-conjecture-visualization

collatz-conjecture collatz-problem collatz-sequences matplotlib matplotlib-pyplot python python3

Last synced: about 2 months ago
JSON representation

A visualization of the Collatz Conjecture for any initial positive integer, n, checking until the sequence eventually narrows down to 1.

Awesome Lists containing this project

README

        

# Collatz-Conjecture-Visualization

A visualization of the Collatz Conjecture for any initial positive integer, n, checking the sequence until it should eventually narrow down to 1.
(Requires `matplotlib` to be installed to run)

Or try it live on [trinket.io](https://trinket.io/python3/f2a32f2cd0)!