# Last one alive x

Discrete Mathematics Level pending

$$X$$ number of people stand in a circle. The value of $$X$$ is of the form $$2^{n}$$, where $$n$$ is a natural number. There is a sword in the hand of the $$1^\text{st}$$ person, he kills the $$2^\text{nd}$$ person and passes on the sword to the third, who kills the fourth and gives the sword to the 5th, this goes on until one person is left. At what number was that person standing at the start?

×