A divisor of an integer is an integer satisfying the divisibility relation . Equivalently, for some integer . The word positive matters when listing or counting divisors: unless signs are restricted, both and qualify.
The positive divisors of areTheir negatives are also divisors of , giving twelve integer divisors altogether. The same list of positive divisors works for . One has only the positive divisor , while zero has every integer as a divisor, including zero under our divisibility convention. A nonzero integer never has zero as a divisor.
For a positive integer , the positive divisors come in pairs whose product is . For , the pairs are , and . Each pair contains a divisor at most , so searching through candidate divisors up to the square root suffices to find all pairs. A pair repeats its own member only when is a perfect square; for , the middle pair is . Consequently a positive integer has an odd number of positive divisors exactly when it is a perfect square.
The prime factorization gives another complete description. Since , its positive divisors are precisely with and . These independent choices give positive divisors, the value of the divisor function . A prime factor is one particular kind of divisor; , and show that divisors need not be prime numbers.
Thinking in pairs connects exact grouping with integer factorization: twelve objects can form three groups of four or four groups of three. Thinking in shared divisors gives the greatest common divisor; for and , the positive common divisors are , and the largest is .
The positive divisors of a positive integer , ordered by divisibility, form a lattice. The greatest lower bound of is , their greatest common divisor; the least upper bound is , their least common multiple. Both are again divisors of .
For example, the positive divisors of are . The divisors and are incomparable under divisibility, but their greatest lower bound is and their least upper bound is . The bottom and top elements of the whole lattice are and , respectively. Under prime factorization, the two operations take the coordinatewise minimum and maximum of the prime exponents.
A positive divisor of a positive integer is bi-unitary when the greatest common unitary divisor of and is . The comparison uses unitary divisors, so it differs from requiring the ordinary greatest common divisor to be one.
For with a prime number and , consider , where . The only possible nontrivial common unitary divisor of and occurs when . Consequently every divisor is bi-unitary except when is even.
For example, the bi-unitary divisors of are ; only is excluded. Its unitary divisors are just and , showing that these two notions differ substantially. For a general positive integer, apply the prime-power condition independently to each prime factor in its prime factorization.
A divisor of a positive integer is unitary when . Each prime power in the prime factorization of must therefore be included in completely or omitted completely. Consequently, the sum of the -th powers of unitary divisors is .
A unitary divisor of a positive integer satisfies . The greatest common unitary divisor of is the largest integer that is a unitary divisor of both. In their prime factorizations, it includes precisely those whole prime powers whose positive exponents agree in and .
For and , it is , although the ordinary greatest common divisor is . For and , it is . Requiring unitary divisibility on both inputs is essential: merely being a unitary divisor of their ordinary greatest common divisor is a weaker condition.
A pair of positive integers with for a specified positive integer . Pairing each divisor with gives unordered factor pairs for nonsquare , and for a perfect square, where is the divisor function.
Here a proper divisor of a positive integer means a positive integer divisor other than itself. Thus has no proper divisors, and the proper divisors of are .
A squarefree divisor of an integer is a divisor that is a squarefree integer. It is specified by choosing a subset of the distinct prime factors of .