Let's divide 355867 by 31
We want to divide 355867 by 31.

Going ahead to step 1:
31 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (5) from the dividend and append it to 3, then repeat: 35 / 31

Advancing to step 2:
35 divided by 31 is 1 with a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 4 after subtracting 31 from 35.
Bring next digit (5) of the dividend behind the 4 and repeat the process: 45 / 31

Going ahead to step 3:
The number 31 fits into 45 1 times, leaving a remainder of 14.
The next digit of our result is 1. 
Result so far: 11.0
Subtracting 31 from 45 leaves us with 14.
Fetch the next digit (8) from the dividend, attach it to 14 and continue: 148 / 31

Step 4:
148 divided by 31 is 4 with a remainder of 24.
The next digit of our result is 4. 
Result so far: 114.0
If we subtract 124 from 148, we get 24.
Bring next digit (6) of the dividend behind the 24 and repeat the process: 246 / 31

On to step 5:
When dividing 246 by 31, we get 7 with a remainder of 29.
The number 7 becomes the next digit in our result. 
Result so far: 1147.0
Deduct 217 from 246 and we're left with 29.
Bring next digit (7) of the dividend behind the 29 and repeat the process: 297 / 31

On to step 6:
31 can be fit into 297 9 times, resulting in a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 11479.0
If we subtract 279 from 297, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 7:
If we divide 180 by 31, we get 5 and a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 11479.5
If we take 155 away from 180, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 8:
31 goes into 250 8 times with a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 11479.58
The remainder is 2 after subtracting 248 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 9:
When dividing 20 by 31, we get 0 with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 11479.58
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 10:
If we divide 200 by 31, we get 6 and a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 11479.5806
Deduct 186 from 200 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 11:
If we divide 140 by 31, we get 4 and a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 11479.58064
Deduct 124 from 140 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 12:
When dividing 160 by 31, we get 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 11479.580645
Deduct 155 from 160 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 13:
50 divided by 31 is 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 11479.5806451
Subtracting 31 from 50 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 14:
When dividing 190 by 31, we get 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 11479.58064516
If we subtract 186 from 190, we 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.

After the division, we end up with 11479.58064516 and a remainder of 4e-09.