--- from: http://rosettacode.org/wiki/Ascending_primes