We're dividing 331107 by 18 
Our goal is to divide 331107 by 18.

Let's proceed to step 1:
The number 18 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (3) from the dividend and append it to 3, then repeat: 33 / 18

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

Advancing to step 3:
151 divided by 18 is 8 with a remainder of 7.
Use 8 as the next digit of our solution. 
Result so far: 18.0
If we subtract 144 from 151, we get 7.
Grab the next digit (1) from the dividend, add it to 7, then carry on: 71 / 18

Let's proceed to step 4:
The number 18 fits into 71 3 times, leaving a remainder of 17.
The number 3 becomes the next digit in our result. 
Result so far: 183.0
Subtract 54 from 71 to get 17.
Append the next digit (0) from the dividend to 17 and continue with: 170 / 18

Step 5:
18 can be fit into 170 9 times, resulting in a remainder of 8.
Write down 9 as next digit of the result. 
Result so far: 1839.0
Deduct 162 from 170 and we're left with 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 18

Moving on to step 6:
87 divided by 18 is 4 with a remainder of 15.
Write down 4 as next digit of the result. 
Result so far: 18394.0
The remainder is 15 after subtracting 72 from 87.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 7:
The number 18 fits into 150 8 times, leaving a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 18394.8
If we take 144 away from 150, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 8:
When dividing 60 by 18, we get 3 with a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 18394.83
If we subtract 54 from 60, we 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 9:
The number 18 fits into 60 3 times, leaving a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 18394.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.

Our division results in 18394.833 with a remaining 0.0006.