A man shaving a yak done in the Pointillism style

Collatz Part 2: Yak Shaving

A brief detour this week as I look into an alternate Collatz implementation. The first part of the series can be found here. The Collatz Conjecture Wikipedia page has an alternate formulation titled “as an abstract machine that computes in base two”. I have a computer. It’s a non-abstract machine that comptes in base two. Seemed like it could be fun. Making the Abstract Concrete The idea is pretty clever:...

May 10, 2023 · keith
All Collatz sequences of a length inferior to 20

Exploring the Collatz Conjecture with Rust

I happened across a video about the Collatz Conjecture a couple months back and it seemed like a good way to continue learning Rust. The Conjecture is straightforward to implement, and optimizing it has led to some interesting places. I’m no mathmetician, nor do I think I can solve the conjecture, but it was a good bit of fun to explore. What is the Collatz Conjecture? The Collatz Conjecture is an unsolved problem in mathematics centered on a deceptively simple algorithm known as 3x+1....

April 14, 2023 · keith