What are the divisors of 3634?
1, 2, 23, 46, 79, 158, 1817, 3634
- There is a total of 8 positive divisors.
- The sum of these divisors is 5760.
- The arithmetic mean is 720.
4 even divisors
2, 46, 158, 3634
4 odd divisors
1, 23, 79, 1817
How to compute the divisors of 3634?
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 3634 by each of the numbers from 1 to 3634 to determine which ones have a remainder equal to 0.
(where is the integer part of the quotient)
- 3634 / 1 = 3634 (the remainder is 0, so 1 is a divisor of 3634)
- 3634 / 2 = 1817 (the remainder is 0, so 2 is a divisor of 3634)
- 3634 / 3 = 1211.3333333333 (the remainder is 1, so 3 is not a divisor of 3634)
- ...
- 3634 / 3633 = 1.0002752546105 (the remainder is 1, so 3633 is not a divisor of 3634)
- 3634 / 3634 = 1 (the remainder is 0, so 3634 is a divisor of 3634)
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 3634 (i.e. 60.282667492406). 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 )
- 3634 / 1 = 3634 (the remainder is 0, so 1 and 3634 are divisors of 3634)
- 3634 / 2 = 1817 (the remainder is 0, so 2 and 1817 are divisors of 3634)
- 3634 / 3 = 1211.3333333333 (the remainder is 1, so 3 is not a divisor of 3634)
- ...
- 3634 / 59 = 61.593220338983 (the remainder is 35, so 59 is not a divisor of 3634)
- 3634 / 60 = 60.566666666667 (the remainder is 34, so 60 is not a divisor of 3634)