/collatz

The Collatz Conjecture visualized

Primary LanguageHTML

The Collatz Conjecture

Zikoat.github.io/collatz

by Sigurd Schoeler

Easy

usage:

  • install node
  • clone repo
node collatzEasy.js [N]

Medium

usage:

node collatzMedium.js [maxN]

if maxN is over 1,000,000 it will log all of the highest numbers it has found.

benchmark

Hard

Hard difficulty is done as a force directed graph using springy.js. usage: open in browser or go to https://zikoat.github.io/collatz/