What are the divisors of 2296?
1, 2, 4, 7, 8, 14, 28, 41, 56, 82, 164, 287, 328, 574, 1148, 2296
- There is a total of 16 positive divisors.
- The sum of these divisors is 5040.
- The arithmetic mean is 315.
12 even divisors
2, 4, 8, 14, 28, 56, 82, 164, 328, 574, 1148, 2296
4 odd divisors
1, 7, 41, 287
How to compute the divisors of 2296?
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 2296 by each of the numbers from 1 to 2296 to determine which ones have a remainder equal to 0.
(where is the integer part of the quotient)
- 2296 / 1 = 2296 (the remainder is 0, so 1 is a divisor of 2296)
- 2296 / 2 = 1148 (the remainder is 0, so 2 is a divisor of 2296)
- 2296 / 3 = 765.33333333333 (the remainder is 1, so 3 is not a divisor of 2296)
- ...
- 2296 / 2295 = 1.0004357298475 (the remainder is 1, so 2295 is not a divisor of 2296)
- 2296 / 2296 = 1 (the remainder is 0, so 2296 is a divisor of 2296)
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 2296 (i.e. 47.916594202844). 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 )
- 2296 / 1 = 2296 (the remainder is 0, so 1 and 2296 are divisors of 2296)
- 2296 / 2 = 1148 (the remainder is 0, so 2 and 1148 are divisors of 2296)
- 2296 / 3 = 765.33333333333 (the remainder is 1, so 3 is not a divisor of 2296)
- ...
- 2296 / 46 = 49.913043478261 (the remainder is 42, so 46 is not a divisor of 2296)
- 2296 / 47 = 48.851063829787 (the remainder is 40, so 47 is not a divisor of 2296)