Dr. Frankenodd (brother of Frankenine ) observed the following on numbers:
Final Conclusion: For n (where n is an odd number) consecutive positive integers the sum will always be a multiple of n . Will Dr. Frankenodd theory always works?
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.
First let's generalize. Start with the sum of n (where n is odd) consecutive positive integers, starting with x : x + ( x + 1 ) + ( x + 2 ) + ⋯ + ( x + ( n − 1 ) ) ⟹ n × x + 2 ( n − 1 ) ( ( n − 1 ) + 1 ) = n x + 2 n ( n − 1 ) Now, we need to show that, when divided by n , the expression is a whole number: n ( n x + 2 n ( n − 1 ) ) ⟹ n n x + 2 n n ( n − 1 ) ⟹ x + 2 n − 1 We know that x is a positive integer, so that will be a whole number. Therefore, we can exclude it from the expression: 2 n − 1 . Since we know n is odd, it can be written in the form 2 i + 1 , where i is a non-negative integer. Let's replace it: 2 ( 2 i + 1 ) − 1 = 2 2 i = i Therefore, knowing that i is an integer, we know that Dr. Frankenodd's theory MUST be true.
If the order of the integers is always consecutive, the sum of the integers will always be divisible by the median number to equal the number of integers used.
Here is a solution using modulo arithmetic. So say you are summing up k consecutive integers then modulo k their residue classes will be 0 , 1 , 2 , … , k − 1 (perhaps in a different order: it could look like 5 , 6 , … , k − 1 , 0 , 1 , 2 , 3 , 4 ). Now you can also write k − 1 ≡ − 1 mod k , k − 2 ≡ − 2 mod k , ... So basically you are summing up: 0 + 1 + 2 + … + k − 2 + k − 1 ≡ 0 + 1 + 2 + … + − 2 + − 1 mod k Now a simple counting argument will show you that when k is odd you will have: 0, every integer up to k / 2 and their negative counterparts: 0 + 1 + 2 + … + ⌊ 2 k ⌋ + ⌈ 2 k ⌉ + … + k − 2 + k − 1 ≡ 0 + 1 + 2 + … ⌊ 2 k ⌋ − ⌊ 2 k ⌋ + … + − 2 + − 1 mod k So it sums to 0.
Note: when k is even this does not work because the integer k / 2 will be left unpaired with a negative counterpart. So more generally when you sum up k consecutive integers with k an even number, then it is divisible by k / 2 but not by k .
Alternative: you can also sum up 0 + 1 + 2 + … + k − 2 + k − 1 = 2 k ( k − 1 ) . Since k is odd, 2 divides k − 1 and so this sum is also divisible by k .
Problem Loading...
Note Loading...
Set Loading...
Correction: In the third sentence "He took 7 consecutive positive integers and he added them. He noticed that all the results were divisible by 5."
5 must be replaced with 7
Let's say that the first term is m and last is n then
m + ( m + 1 ) + . . . + n =
( 1 + 2 + . . . + n ) − ( 1 + 2 + . . . + m − 1 ) =
2 n ( n + 1 ) - 2 ( m − 1 ) m =
2 n 2 + n − m 2 + m =
2 ( n + m ) ( n − m ) + n + m =
2 ( n + m ) ( n − m + 1 )
So this sum is always divisible by n − m + 1 which is the number of terms
i.e. 2 2 + 2 3 + 2 4 + 2 5 + 2 6 + 2 7 + 2 8 + 2 9 + 3 0 has 9 = 3 0 − 2 2 + 1 terms