What are the divisors of 2244?
1, 2, 3, 4, 6, 11, 12, 17, 22, 33, 34, 44, 51, 66, 68, 102, 132, 187, 204, 374, 561, 748, 1122, 2244
- There is a total of 24 positive divisors.
- The sum of these divisors is 6048.
- The arithmetic mean is 252.
16 even divisors
2, 4, 6, 12, 22, 34, 44, 66, 68, 102, 132, 204, 374, 748, 1122, 2244
8 odd divisors
1, 3, 11, 17, 33, 51, 187, 561
How to compute the divisors of 2244?
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 2244 by each of the numbers from 1 to 2244 to determine which ones have a remainder equal to 0.
(where is the integer part of the quotient)
- 2244 / 1 = 2244 (the remainder is 0, so 1 is a divisor of 2244)
- 2244 / 2 = 1122 (the remainder is 0, so 2 is a divisor of 2244)
- 2244 / 3 = 748 (the remainder is 0, so 3 is a divisor of 2244)
- ...
- 2244 / 2243 = 1.0004458314757 (the remainder is 1, so 2243 is not a divisor of 2244)
- 2244 / 2244 = 1 (the remainder is 0, so 2244 is a divisor of 2244)
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 2244 (i.e. 47.370877129308). 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 )
- 2244 / 1 = 2244 (the remainder is 0, so 1 and 2244 are divisors of 2244)
- 2244 / 2 = 1122 (the remainder is 0, so 2 and 1122 are divisors of 2244)
- 2244 / 3 = 748 (the remainder is 0, so 3 and 748 are divisors of 2244)
- ...
- 2244 / 46 = 48.782608695652 (the remainder is 36, so 46 is not a divisor of 2244)
- 2244 / 47 = 47.744680851064 (the remainder is 35, so 47 is not a divisor of 2244)