861858 divided by 18 
We're looking to find how many times 18 goes into 861858.

On to step 1:
18 can be fit into 8 0 times, resulting in a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Append the next digit (6) from the dividend to 8 and continue with: 86 / 18

Step 2:
The number 18 fits into 86 4 times, leaving a remainder of 14.
Put 4 as the next digit of the answer. 
Result so far: 4.0
If we subtract 72 from 86, we get 14.
Include the next digit (1) from the dividend after 14, then repeat: 141 / 18

Advancing to step 3:
141 divided by 18 is 7 with a remainder of 15.
The next digit of our result is 7. 
Result so far: 47.0
Deduct 126 from 141 and we're left with 15.
Append the next digit (8) from the dividend to 15 and continue with: 158 / 18

On to step 4:
18 goes into 158 8 times with a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 478.0
Subtracting 144 from 158 leaves us with 14.
Include the next digit (5) from the dividend after 14, then repeat: 145 / 18

Going ahead to step 5:
The number 18 fits into 145 8 times, leaving a remainder of 1.
Put 8 as the next digit of the answer. 
Result so far: 4788.0
Subtracting 144 from 145 leaves us with 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 18

Moving on to step 6:
18 can be fit into 18 1 times, resulting in a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 47881.0
The remainder is 0 after subtracting 18 from 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 7:
18 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 47881.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 8:
18 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 47881.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 47881.0 with a remainder of 0.0.