Let n be a positive integer. Consider this statement:
"The sum of n consecutive integers is a multiple of n ."
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Two solutions in one. Lucky you!
Argument using congruencies
For any integer n , the set of congruencies modulo n of any n consecutive integers is exactly the set { 0 , 1 , 2 , … , n − 1 } . In other words:
Let A = { m , m + 1 , … , m + n − 1 } , for some positive integer m (so A is a set of n consecutive integers). Then:
R = { r ∈ Z ∣ 0 ≤ r ≤ n − 1 ; ∃ a ∈ A : a ≡ r m o d n } = { 0 , 1 , 2 , … , n − 1 } .
We can now partition R , starting with subsets that sum to n . Specifically, we make the following pairs:
{ 1 , n − 1 }
{ 2 , n − 2 }
{ 3 , n − 3 }
…
Now:
If n is odd, we are left only with { 0 } . So all of the remainders r sum to a multiple of n , and the original sum must therefore be a multiple of n .
If n is even, we are left with { 0 } and { 2 1 n } . The sum of the remainders r is, therefore, congruent to 2 1 n m o d n . Therefore the original sum cannot be a multiple of n .
So, we conclude:
The sum of n consecutive integers is a multiple of n exactly when n is odd .
Argument using arithmetic series
A sequence { u r } r = 0 → n − 1 of n consecutive integers may be written as follows:
{ m , m + 1 , m + 2 , … , m + n − 1 } ,
where m is the first integer, and u r = m + r , r = 0 → n − 1 .
The sum of these integers is as follows:
[ r c l ] . ∑ r = 0 n − 1 u r = = = ∑ r = 0 n − 1 ( m + r ) n m + ∑ r = 0 n − 1 r n m + 2 1 n ( n − 1 ) .
Clearly, n m is a multiple of n . So:
r = 0 ∑ n − 1 u r is a multiple of n ⇔ 2 1 n ( n − 1 ) is a multiple of n .
Now:
If n is odd, 2 1 ( n − 1 ) is an integer, so 2 1 n ( n − 1 ) = n ( 2 1 ( n − 1 ) ) is a multiple of n . Therefore, the original sum is a multiple of n .
If n is even, n − 1 is odd. Therefore, 2 1 n ( n − 1 ) is an odd multiple of 2 1 n , which cannot be a multiple of n . Therefore, the original sum is not a multiple of n .
So, we conclude:
The sum of n consecutive integers is a multiple of n exactly when n is odd .
Problem Loading...
Note Loading...
Set Loading...
Clearly, n consecutive numbers give the residues 0 → n − 1 ( m o d n ) . Thus, their sum is simply S ≡ 2 n ( n − 1 ) ( m o d n ) Clearly if n is odd then 2 n ( n − 1 ) ≡ 0 ( m o d n ) . It remains to prove this is not true for even n = 2 k . But 2 n ( n − 1 ) = k ( 2 k − 1 ) ≡ 0 ( m o d 2 k ) so this property is true for odd n only.