He gets all the students to line up in a long row, and gives them a number from 1 to 2000. Then, he asks those with an odd number to leave, as they are not lucky enough.
With those that remain, he orders them again from 1 to 1000. Those which have an odd number are told to leave, as they are not lucky enough.
The professor repeats this process again and again until there is only 1 student left in this row.
What is the initial number that was given to the student who remained?
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.
I try to make a 1-20 students, and get student number 16 as the only student left. We know that the only student left is the student who kept a number that still possible to devide by 2 till the end. In other word, the number is 2 n < x where x is the total number of students.
For x = 2000, the maximum 2 n = 2 1 0 = 1 0 2 4