We're dividing 18138 by 4 
We want to divide 18138 by 4.

Going ahead to step 1:
The number 4 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 4

Going ahead to step 2:
The number 4 fits into 18 4 times, leaving a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtracting 16 from 18 leaves us with 2.
Take the next digit (1) from the dividend and append it to 2, then repeat: 21 / 4

Going ahead to step 3:
If we divide 21 by 4, we get 5 and a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 45.0
If we take 20 away from 21, we end up with 1.
Fetch the next digit (3) from the dividend, attach it to 1 and continue: 13 / 4

Moving on to step 4:
4 can be fit into 13 3 times, resulting in a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 453.0
Deduct 12 from 13 and we're left with 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 4

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

Advancing to step 6:
4 goes into 20 5 times with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 4534.5
If we take 20 away from 20, 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.

Advancing to step 7:
4 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 4534.5
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.

Step 8:
0 divided by 4 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 4534.5
Subtracting 0 from 0 leaves us 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.

Our division results in 4534.5 with a remaining 0.0.