Test whether n has a small prime divisor by trial division; basic primality screening

Class:
Algorithmic Task