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