31877 ÷ 67 
We're looking to find how many times 67 goes into 31877.

Moving on to step 1:
3 divided by 67 is 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 67

Moving on to step 2:
When dividing 31 by 67, we get 0 with a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Fetch the next digit (8) from the dividend, attach it to 31 and continue: 318 / 67

Moving on to step 3:
67 can be fit into 318 4 times, resulting in a remainder of 50.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
The remainder is 50 after subtracting 268 from 318.
Bring next digit (7) of the dividend behind the 50 and repeat the process: 507 / 67

Step 4:
67 can be fit into 507 7 times, resulting in a remainder of 38.
The number 7 becomes the next digit in our result. 
Result so far: 47.0
The remainder is 38 after subtracting 469 from 507.
Fetch the next digit (7) from the dividend, attach it to 38 and continue: 387 / 67

Advancing to step 5:
The number 67 fits into 387 5 times, leaving a remainder of 52.
The number 5 becomes the next digit in our result. 
Result so far: 475.0
If we take 335 away from 387, we end up with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 6:
If we divide 520 by 67, we get 7 and a remainder of 51.
Write down 7 as next digit of the result. 
Result so far: 475.7
Subtract 469 from 520 to get 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

On to step 7:
510 divided by 67 is 7 with a remainder of 41.
Write down 7 as next digit of the result. 
Result so far: 475.77
If we take 469 away from 510, we end up with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

The final result is 475.77 with a remainder of 0.041.