What are the divisors of 4268?
1, 2, 4, 11, 22, 44, 97, 194, 388, 1067, 2134, 4268
- There is a total of 12 positive divisors.
- The sum of these divisors is 8232.
- The arithmetic mean is 686.
8 even divisors
2, 4, 22, 44, 194, 388, 2134, 4268
4 odd divisors
1, 11, 97, 1067
How to compute the divisors of 4268?
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 4268 by each of the numbers from 1 to 4268 to determine which ones have a remainder equal to 0.
(where is the integer part of the quotient)
- 4268 / 1 = 4268 (the remainder is 0, so 1 is a divisor of 4268)
- 4268 / 2 = 2134 (the remainder is 0, so 2 is a divisor of 4268)
- 4268 / 3 = 1422.6666666667 (the remainder is 2, so 3 is not a divisor of 4268)
- ...
- 4268 / 4267 = 1.0002343566909 (the remainder is 1, so 4267 is not a divisor of 4268)
- 4268 / 4268 = 1 (the remainder is 0, so 4268 is a divisor of 4268)
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 4268 (i.e. 65.329931884244). 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 )
- 4268 / 1 = 4268 (the remainder is 0, so 1 and 4268 are divisors of 4268)
- 4268 / 2 = 2134 (the remainder is 0, so 2 and 2134 are divisors of 4268)
- 4268 / 3 = 1422.6666666667 (the remainder is 2, so 3 is not a divisor of 4268)
- ...
- 4268 / 64 = 66.6875 (the remainder is 44, so 64 is not a divisor of 4268)
- 4268 / 65 = 65.661538461538 (the remainder is 43, so 65 is not a divisor of 4268)