1.2.6. Example: Testing for Primality
Smallest divisor
Use the smallest-divisor procedure to find the smallest divisor of each of the following numbers: 199, 1999, 19999.