--- from: http://rosettacode.org/wiki/N-smooth_numbers note: Prime Numbers