What are the divisors of 1136?
1, 2, 4, 8, 16, 71, 142, 284, 568, 1136
- There is a total of 10 positive divisors.
- The sum of these divisors is 2232.
- The arithmetic mean is 223.2.
8 even divisors
2, 4, 8, 16, 142, 284, 568, 1136
2 odd divisors
1, 71
How to compute the divisors of 1136?
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 1136 by each of the numbers from 1 to 1136 to determine which ones have a remainder equal to 0.
(where is the integer part of the quotient)
- 1136 / 1 = 1136 (the remainder is 0, so 1 is a divisor of 1136)
- 1136 / 2 = 568 (the remainder is 0, so 2 is a divisor of 1136)
- 1136 / 3 = 378.66666666667 (the remainder is 2, so 3 is not a divisor of 1136)
- ...
- 1136 / 1135 = 1.0008810572687 (the remainder is 1, so 1135 is not a divisor of 1136)
- 1136 / 1136 = 1 (the remainder is 0, so 1136 is a divisor of 1136)
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 1136 (i.e. 33.704599092705). 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 )
- 1136 / 1 = 1136 (the remainder is 0, so 1 and 1136 are divisors of 1136)
- 1136 / 2 = 568 (the remainder is 0, so 2 and 568 are divisors of 1136)
- 1136 / 3 = 378.66666666667 (the remainder is 2, so 3 is not a divisor of 1136)
- ...
- 1136 / 32 = 35.5 (the remainder is 16, so 32 is not a divisor of 1136)
- 1136 / 33 = 34.424242424242 (the remainder is 14, so 33 is not a divisor of 1136)