I tried in this way using the formula of a guest
logarithm of 1000 base 2 = 9.9~10
2^10 = 1024
now of soldiers = 1000
1000-1024=-24
solider at 24th position in anti clock wise direction survives
that is 1000-24+1=977
I tried in this way using the formula of a guest
logarithm of 1000 base 2 = 9.9~10
2^10 = 1024
now of soldiers = 1000
1000-1024=-24
solider at 24th position in anti clock wise direction survives
that is 1000-24+1=977