Skip to content
Plots the length of collatz(x) while x < 10000. I used this Python-script for one of my upcoming Drum & Bass-EP's cover
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Released under the GNU GPL.

Small Python-scatch I've created for one of my upcoming Drum & Bass-EPs for

alt text alt text

For details checkout the Wikipedia-article and the Reddit-article:


  1. Import all files into your environment. I recommend using venv or an IDE like Pycharm
  2. Install matplot & numpy
  • This is the main file that will print the main polot scratch_collatz
  • Not used plot of a sine-wave. For my cover I've chosen another wave-sample of a famous Drum & Bass-break.
You can’t perform that action at this time.