A colleague recently sent me this blogpost. Some here may appreciate this kind of fun with primes, similar to what I had shared a while back: #755400 by 3Blue1Brown.
We introduced a prime number visualization called Jacob’s Ladder. The algorithm plots numbers on a 2D graph that oscillates up and down based on the presence of prime numbers, creating a ladder-like structure. The path ascends or descends based on the primality of subsequent numbers. When a prime number is encountered, the path alters direction, leading to a zig-zag pattern. Number 2 is prime, so it flips and goes down. Now 3 is prime, so the next step changes direction and goes up again, so we move up. But 4 is not a prime, so it continues up, and on it goes.
A nice little video also, further down the article.
Quite interesting. I wonder if any results exist that can already prove some of this questions, like the one about the boat sailing eastwards.
👀