What are the divisors of 2414?
1, 2, 17, 34, 71, 142, 1207, 2414
- There is a total of 8 positive divisors.
- The sum of these divisors is 3888.
- The arithmetic mean is 486.
4 even divisors
2, 34, 142, 2414
4 odd divisors
1, 17, 71, 1207
How to compute the divisors of 2414?
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 2414 by each of the numbers from 1 to 2414 to determine which ones have a remainder equal to 0.
(where is the integer part of the quotient)
- 2414 / 1 = 2414 (the remainder is 0, so 1 is a divisor of 2414)
- 2414 / 2 = 1207 (the remainder is 0, so 2 is a divisor of 2414)
- 2414 / 3 = 804.66666666667 (the remainder is 2, so 3 is not a divisor of 2414)
- ...
- 2414 / 2413 = 1.0004144218815 (the remainder is 1, so 2413 is not a divisor of 2414)
- 2414 / 2414 = 1 (the remainder is 0, so 2414 is a divisor of 2414)
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 2414 (i.e. 49.132473986153). 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 )
- 2414 / 1 = 2414 (the remainder is 0, so 1 and 2414 are divisors of 2414)
- 2414 / 2 = 1207 (the remainder is 0, so 2 and 1207 are divisors of 2414)
- 2414 / 3 = 804.66666666667 (the remainder is 2, so 3 is not a divisor of 2414)
- ...
- 2414 / 48 = 50.291666666667 (the remainder is 14, so 48 is not a divisor of 2414)
- 2414 / 49 = 49.265306122449 (the remainder is 13, so 49 is not a divisor of 2414)