31879747 divided by 18 
We want to divide 31879747 by 18.

Let's proceed to step 1:
The number 18 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 18

Step 2:
18 goes into 31 1 times with a remainder of 13.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 18 from 31 and we're left with 13.
Take the next digit (8) from the dividend and append it to 13, then repeat: 138 / 18

On to step 3:
18 goes into 138 7 times with a remainder of 12.
Put 7 as the next digit of the answer. 
Result so far: 17.0
Subtract 126 from 138 to get 12.
Fetch the next digit (7) from the dividend, attach it to 12 and continue: 127 / 18

Going ahead to step 4:
18 can be fit into 127 7 times, resulting in a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 177.0
Subtracting 126 from 127 leaves us with 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 18

Moving on to step 5:
18 goes into 19 1 times with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1771.0
Deduct 18 from 19 and we're left with 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 18

Step 6:
If we divide 17 by 18, we get 0 and a remainder of 17.
Write down 0 as next digit of the result. 
Result so far: 17710.0
If we subtract 0 from 17, we get 17.
Take the next digit (4) from the dividend and append it to 17, then repeat: 174 / 18

Moving on to step 7:
18 goes into 174 9 times with a remainder of 12.
Put 9 as the next digit of the answer. 
Result so far: 177109.0
The remainder is 12 after subtracting 162 from 174.
Take the next digit (7) from the dividend and append it to 12, then repeat: 127 / 18

Going ahead to step 8:
When dividing 127 by 18, we get 7 with a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 1771097.0
Subtract 126 from 127 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 9:
18 goes into 10 0 times with a remainder of 10.
The next digit of our result is 0. 
Result so far: 1771097.0
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 10:
100 divided by 18 is 5 with a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 1771097.05
Subtract 90 from 100 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 11:
When dividing 100 by 18, we get 5 with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 1771097.055
Subtracting 90 from 100 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final result is 1771097.055 with a remainder of 0.001.