For me it is like back to the basics. Back to the roots. Eratosthenes sieve. I remember when I implemented this algorithm for the first time. It was in a high school and I was feeling like doing a rocket science. Today I would like to look at the algorithm once again but from Ruby perspective.