The Collatz conjecture, visualised in Clojure

from blog Oliver Caldwell's blog, | ↗ original
Before I begin, watch the video that prompted me to do this in the first place. Okay, now you know what I’m talking about, the Collatz conjecture. It’s scarily simple, you take a number, if it’s even you halve it, if it’s odd you multiply it by three and add one. Repeat this and you will end up at one, every time. Well, that’s the conjecture,...