Cool stuff. I played around with primes a few times, as a computer programmer, it's always been one of those pissing contests that newbies and
oldies alike have, fastest sieve, and other prime based challenges. the 6n+- relationship was one that astounded me first time I saw it, I always
wanted to tie it into some of the other optimizations I had on basic sieves, but it seemed to be best left alone, bolting more 'tricks' on after
that always seemed to make things worse for me, not better!
Whenever I start to learn a new programming language, doing a few sieves is always part of that first experimentation to find the idioms and and basic
features.
I wish I could really understand some of the more complex methods, and more about primes in general but it tends to get into elbow patch and long
beard territory pretty quickly.
Thanks for the post, it had me in about equal parts "Aha!", and then lots of head scratching.






