We're dividing 16771 by 8 
Let's see how many times 8 fits into 16771.

Let's proceed to step 1:
8 can be fit into 1 0 times, resulting in a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 8

Moving on to step 2:
If we divide 16 by 8, we get 2 and a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 16 from 16 leaves us with 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 8

Advancing to step 3:
7 divided by 8 is 0 with a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 20.0
The remainder is 7 after subtracting 0 from 7.
Grab the next digit (7) from the dividend, add it to 7, then carry on: 77 / 8

On to step 4:
8 goes into 77 9 times with a remainder of 5.
Use 9 as the next digit of our solution. 
Result so far: 209.0
The remainder is 5 after subtracting 72 from 77.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 8

On to step 5:
The number 8 fits into 51 6 times, leaving a remainder of 3.
The next digit of our result is 6. 
Result so far: 2096.0
If we take 48 away from 51, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 6:
8 can be fit into 30 3 times, resulting in a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 2096.3
Subtracting 24 from 30 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 7:
8 can be fit into 60 7 times, resulting in a remainder of 4.
The next digit of our result is 7. 
Result so far: 2096.37
Subtract 56 from 60 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 8:
8 can be fit into 40 5 times, resulting in a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 2096.375
Subtract 40 from 40 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
8 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 2096.375
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 10:
The number 8 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 2096.375
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 2096.375, with a leftover of 0.0.