We're dividing 31875 by 18 
We want to figure out the number of times 31875 can be divided by 18.

Let's proceed to step 1:
3 divided by 18 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 18

On to step 2:
18 goes into 31 1 times with a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 18 away from 31, we end up with 13.
Grab the next digit (8) from the dividend, add it to 13, then carry on: 138 / 18

Going ahead to step 3:
If we divide 138 by 18, we get 7 and a remainder of 12.
Use 7 as the next digit of our solution. 
Result so far: 17.0
The remainder is 12 after subtracting 126 from 138.
Fetch the next digit (7) from the dividend, attach it to 12 and continue: 127 / 18

On to step 4:
When dividing 127 by 18, we get 7 with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 177.0
The remainder is 1 after subtracting 126 from 127.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 18

On to step 5:
If we divide 15 by 18, we get 0 and a remainder of 15.
Put 0 as the next digit of the answer. 
Result so far: 1770.0
Deduct 0 from 15 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 6:
When dividing 150 by 18, we get 8 with a remainder of 6.
The next digit of our result is 8. 
Result so far: 1770.8
The remainder is 6 after subtracting 144 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 7:
When dividing 60 by 18, we get 3 with a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 1770.83
Subtract 54 from 60 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 8:
18 can be fit into 60 3 times, resulting in a remainder of 6.
The next digit of our result is 3. 
Result so far: 1770.833
The remainder is 6 after subtracting 54 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final result is 1770.833 with a remainder of 0.0006.