If x * y = z (x, y, z are integers), we can define the operator / as z / y = x.
x * 0 = 0, however, we can not determine 0 / 0 to one value,
so that we can not define it.
Also, in the case of x * y = z (x, y, z are integers),
we call z a multiple of x,
and we call x a divisor of z.
To find all positive divisors of a positive integer n,
you may examine whether it is a divisor of n for all integers from 1 to n.
Primes
Now we think about divisors of a positive integer n.
1 and n are divisors of n.
A positive integer of 2 and over which has no divisors without 1 or n
is called a prime.
To examine whether a positive integer n (of 2 and over) is a prime,
you may examine whether it is a divisor of n for all integers from 1 to n.
If divisors are only 1 and n, n is a prime.
A positive integer can be shown as a product of primes.
To find the way to show a positive integer n as a product of primes,
you may examine "how many time does it divide n"
for all primes (you may do effectively all primes which divide n).
We can find all positive divisors of a positive integer n
by using the way of showing n as a product of primes.
Example: Because 50 = 2 * 5 * 5,
1, 5, 5 * 5 = 25, 2, 2 * 5 = 10, 2 * 5 * 5 = 50 are divisors of 50.
Also, we can find they are only divisors of 50.
The greatest common divisor and the least common multiple
A common divisor of two integers
(three, four, five ... are possible but we think about only the case of two here)
is a common divisor of the two integers.
A common multiple of two integers is a common multiple of the two integers.
The greatest common divisor is the greatest of all positive common divisors.
But "the maximum in the common divisor" must be positive.
The least common multiple is the least in the positive common multiples.
There are infinite positive common multiples,
so it is the least of infinite things.
Using the way of showing a positive integer as a product of primes,
we can find the greatest common divisor and the least common multiple.