We look at the division of 123874 by 18 
We're looking to find how many times 18 goes into 123874.

Moving on to step 1:
If we divide 1 by 18, we get 0 and a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 18

Let's proceed to step 2:
When dividing 12 by 18, we get 0 with a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Fetch the next digit (3) from the dividend, attach it to 12 and continue: 123 / 18

Step 3:
When dividing 123 by 18, we get 6 with a remainder of 15.
Write down 6 as next digit of the result. 
Result so far: 6.0
Subtracting 108 from 123 leaves us with 15.
Take the next digit (8) from the dividend and append it to 15, then repeat: 158 / 18

Moving on to step 4:
18 can be fit into 158 8 times, resulting in a remainder of 14.
Write down 8 as next digit of the result. 
Result so far: 68.0
If we take 144 away from 158, we end up with 14.
Include the next digit (7) from the dividend after 14, then repeat: 147 / 18

Going ahead to step 5:
The number 18 fits into 147 8 times, leaving a remainder of 3.
Write down 8 as next digit of the result. 
Result so far: 688.0
Deduct 144 from 147 and we're left with 3.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 18

Going ahead to step 6:
34 divided by 18 is 1 with a remainder of 16.
Write down 1 as next digit of the result. 
Result so far: 6881.0
If we take 18 away from 34, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 7:
If we divide 160 by 18, we get 8 and a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 6881.8
If we subtract 144 from 160, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 8:
160 divided by 18 is 8 with a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 6881.88
Subtract 144 from 160 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The quotient of the division is 6881.88, and the remainder is 0.016.