A very simple prime sieve.
Just takes the values of a random number and compares it, though it actually counts every multiple of each number except it.