We look at the division of 985871 by 8 
Let's see how many times 8 fits into 985871.

On to step 1:
9 divided by 8 is 1 with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 8 from 9 to get 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 8

Moving on to step 2:
18 divided by 8 is 2 with a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 12.0
If we subtract 16 from 18, we get 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 8

Let's proceed to step 3:
If we divide 25 by 8, we get 3 and a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 123.0
If we take 24 away from 25, we end up with 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 8

On to step 4:
8 goes into 18 2 times with a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 1232.0
Subtract 16 from 18 to get 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 8

Moving on to step 5:
The number 8 fits into 27 3 times, leaving a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 12323.0
If we subtract 24 from 27, we get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 8

Moving on to step 6:
8 can be fit into 31 3 times, resulting in a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 123233.0
Subtracting 24 from 31 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 7:
The number 8 fits into 70 8 times, leaving a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 123233.8
The remainder is 6 after subtracting 64 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
8 can be fit into 60 7 times, resulting in a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 123233.87
Deduct 56 from 60 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 9:
8 goes into 40 5 times with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 123233.875
If we take 40 away from 40, we end up 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:
When dividing 0 by 8, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 123233.875
If we take 0 away from 0, we end up 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.

Going ahead to step 11:
8 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 123233.875
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.

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