Hello, I am trying to understand the following modulo 2 long division.

I understand that 1101 goes into 1111, so you write a 1 on the top.

The next stage after 'XOR'ing is to bring down the 1.

Now, 1101 does not go into 101, so you write a 0 at the top. So far so so good.

Now you bring down another 1 and 1101 still does not go into 1011, so how come they wrote a 1 in the third position at the top ? Shouldn't that be a zero ?

If someone could please explain where I am going wrong, I would most grateful.