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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!


About

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


Languages

Language:Python 100.0%