What are the divisors of 4324?
1, 2, 4, 23, 46, 47, 92, 94, 188, 1081, 2162, 4324
- There is a total of 12 positive divisors.
- The sum of these divisors is 8064.
- The arithmetic mean is 672.
8 even divisors
2, 4, 46, 92, 94, 188, 2162, 4324
4 odd divisors
1, 23, 47, 1081
How to compute the divisors of 4324?
A number N is said to be divisible by a number M (with M non-zero) if, when we divide N by M, the remainder of the division is zero.
Brute force algorithm
We could start by using a brute-force method which would involve dividing 4324 by each of the numbers from 1 to 4324 to determine which ones have a remainder equal to 0.
(where is the integer part of the quotient)
- 4324 / 1 = 4324 (the remainder is 0, so 1 is a divisor of 4324)
- 4324 / 2 = 2162 (the remainder is 0, so 2 is a divisor of 4324)
- 4324 / 3 = 1441.3333333333 (the remainder is 1, so 3 is not a divisor of 4324)
- ...
- 4324 / 4323 = 1.000231320842 (the remainder is 1, so 4323 is not a divisor of 4324)
- 4324 / 4324 = 1 (the remainder is 0, so 4324 is a divisor of 4324)
Improved algorithm using square-root
However, there is another slightly better approach that reduces the number of iterations by testing only integers less than or equal to the square root of 4324 (i.e. 65.757128891094). Indeed, if a number N has a divisor D greater than its square root, then there is necessarily a smaller divisor d such that:
(thus, if , then )
- 4324 / 1 = 4324 (the remainder is 0, so 1 and 4324 are divisors of 4324)
- 4324 / 2 = 2162 (the remainder is 0, so 2 and 2162 are divisors of 4324)
- 4324 / 3 = 1441.3333333333 (the remainder is 1, so 3 is not a divisor of 4324)
- ...
- 4324 / 64 = 67.5625 (the remainder is 36, so 64 is not a divisor of 4324)
- 4324 / 65 = 66.523076923077 (the remainder is 34, so 65 is not a divisor of 4324)