Let's divide 371858 by 18
Our goal is to divide 371858 by 18.

Going ahead to step 1:
If we divide 3 by 18, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 18

On to step 2:
The number 18 fits into 37 2 times, leaving a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 36 away from 37, we end up with 1.
Grab the next digit (1) from the dividend, add it to 1, then carry on: 11 / 18

Step 3:
If we divide 11 by 18, we get 0 and a remainder of 11.
The number 0 becomes the next digit in our result. 
Result so far: 20.0
Deduct 0 from 11 and we're left with 11.
Bring next digit (8) of the dividend behind the 11 and repeat the process: 118 / 18

Step 4:
18 can be fit into 118 6 times, resulting in a remainder of 10.
Write down 6 as next digit of the result. 
Result so far: 206.0
If we subtract 108 from 118, we get 10.
Append the next digit (5) from the dividend to 10 and continue with: 105 / 18

Going ahead to step 5:
When dividing 105 by 18, we get 5 with a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 2065.0
Subtracting 90 from 105 leaves us with 15.
Append the next digit (8) from the dividend to 15 and continue with: 158 / 18

On to step 6:
When dividing 158 by 18, we get 8 with a remainder of 14.
Write down 8 as next digit of the result. 
Result so far: 20658.0
If we take 144 away from 158, we end up 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.

Going ahead to step 7:
140 divided by 18 is 7 with a remainder of 14.
Use 7 as the next digit of our solution. 
Result so far: 20658.7
If we subtract 126 from 140, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 8:
When dividing 140 by 18, we get 7 with a remainder of 14.
Use 7 as the next digit of our solution. 
Result so far: 20658.77
If we take 126 away from 140, we end up 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.

The quotient of the division is 20658.77, and the remainder is 0.014.