A teacher writes 6 consecutive integers on the blackboard.
He erases one of the integers and the sum of the remaining five integers is 2016.
What integer was erased?
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.
Ha ha, nice question sir. BTW, nice teacher in the image :D
Even though I got it right, I just plugged in the different variations of consecutive integers for p. 5n+15= 2016+x+4. through trial and error. Your answer has less work and right to the point.
Why did you add 4 to n?
The key to solve this problem is to cancell 2000 and find the 6 consecutive numbers that sum of 5 of them is 16
Fantastic sir. I was too close but failed .
similar solution
how did the p becomes 4?
Log in to reply
Both 5n+15 and 2016+p are divisible by 5. ( p is 0, 1, 2, 3 ,4 or 5)
2016+0, 2016+1, 2016+2, 2016+3, 2016+4, 2016+5.
Only 2016+4=2020 is divisible by 5
The average of six consecutive numbers lies precisely between the third and fourth value.
Removing the first number will increase the average to be equal to the fourth value; removing the last number will decrease the average to be equal to the third value. Removing any of the other numbers will create an intermediate situation.
In this case, the average of the five remaining numbers is 2 0 1 6 / 5 = 4 0 3 5 1 .
Thus we know immediately that the third and fourth number are 4 0 3 and 4 0 4 , and the average of the original six numbers was 4 0 3 2 1 .
The missing number is therefore 6 ⋅ 4 0 3 2 1 − 2 0 1 6 = 2 4 2 1 − 2 0 1 6 = 4 0 5 .
yes crt one A.V
A new and indeed creative solution!
I lost the logic where you extrapolated the third and the fourth numbers to be 403 and 404 respectively. Could you please explain that?
Log in to reply
The average lies of six consecutive numbers lies between the third and fourth number in the list. The average is 4 0 3 5 1 . Therefore, 4 0 3 5 1 lies between the third and fourth number in the list. Therefore, the third and fourth numbers are 403 and 404.
Log in to reply
(n-2)+(n-1)+(n)+(n+1)+(n+2) =5n 2016/5= 403 r 1 Giving us 2016= (401+402+403+404+405) +1 The only number in those 5 you can add one to and not have a repeat is 405. Our five numbers are 401, 402, 403, 404, 406 405 is skipped.
Brilliant logic! Thank you for presenting such an innovative solution.
I dont know any fancy ways to solve this, but i still got it right by trial and error. First, I found the average of the 5 numbers by dividing 2016 by 5. (2016/5=403.2) Then I took the numbers 401, 402, 403, 404, 405, and 406 until i found 5 that sum equaled 2016. Those numbers were 401, 402, 403, 404, and 406. Therefore the number in the sequence that was missing was 405.
P.S. I made an educated guess to get that those weere the 6 consecutive numbers. I knew because of the average that 403 was either the 3rd or 4th number.
Thanks for sharing your approach, Jon. It is not necessary to always find a fancy way to solve a problem. Sometimes, guessing and checking works just fine. Your method helps solve this problem quickly, and easily so it's a good one.
I upvoted your solution (+1). I would like to see more solutions written by you. :)
This is fundamentally the same as Paul Fournier's solution, but without much use of variables (which I should've done to save time but then I stumbled upon a bit more convoluted reasoning to arrive at the answer).
Any sum of 6 consecutive integers should leave a remainder of 3 when divided by 6. However, since 2016 is divisible by 6, the removed integer must be odd and divisible by 3 (if it's even it would be divisible by 6).
Any sum of 5 consecutive integers is divisible by 5. But since 2016 leaves a remainder of 1 when divided by 5, the sum of the first 5 written integers (before erasing) was 2015 and the sum of the last 5 (before erasing) was 2020.
Notice that for every 5 consecutive integers, the middle term is the average of the five. Therefore, the third smallest integer written by the professor 5 2 0 1 5 = 403. Thus, the 6 integers are 401, 402, 403, 404, 405, and 406. Only 405 is odd and divisible by 3, so 405 is the erased integer.
Let the numbers be N-2, N-1, N, N+1, N+2, N+3
Sum = 6N+3
Now if we remove one number, we will have a sum in the form "5N+x"
2016 = 5N+1 --------------------------- (1)
So x = 1
It means the number removed is = 6N+3 - (5N+1) = N+2
From (1), we have N = 403
Hence, the number removed = N+2 = 405
I attach a code in python :) sorry but this time I felt lazy
1 2 3 4 5 6 7 8 9 10 11 |
|
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: Setting Up Equations
Let the consecutive integers be n , n + 1 , n + 2 , n + 3 , n + 4 and n + 5
The sum of these numbers is 6 n + 1 5 .
The sum of the five integers will be 5 n + 1 5 − p where p is 0 , 1 , 2 , 3 , 4 or 5 .
5 n + 1 5 = 2 0 1 6 + p , therefore 2 0 1 6 + p is divisible by 5 and thus p = 4 .
5 n + 1 5 = 2 0 2 0
n = 4 0 1 and n + 4 = 4 0 5 .