Let's divide 18018 by 51
We want to divide 18018 by 51.

On to step 1:
51 can be fit into 1 0 times, resulting in a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 51

Step 2:
51 goes into 18 0 times with a remainder of 18.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 18, we end up with 18.
Take the next digit (0) from the dividend and append it to 18, then repeat: 180 / 51

On to step 3:
180 divided by 51 is 3 with a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtract 153 from 180 to get 27.
Append the next digit (1) from the dividend to 27 and continue with: 271 / 51

On to step 4:
When dividing 271 by 51, we get 5 with a remainder of 16.
Put 5 as the next digit of the answer. 
Result so far: 35.0
The remainder is 16 after subtracting 255 from 271.
Fetch the next digit (8) from the dividend, attach it to 16 and continue: 168 / 51

Moving on to step 5:
51 can be fit into 168 3 times, resulting in a remainder of 15.
Put 3 as the next digit of the answer. 
Result so far: 353.0
The remainder is 15 after subtracting 153 from 168.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 6:
51 goes into 150 2 times with a remainder of 48.
Put 2 as the next digit of the answer. 
Result so far: 353.2
If we subtract 102 from 150, we get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

On to step 7:
51 can be fit into 480 9 times, resulting in a remainder of 21.
The number 9 becomes the next digit in our result. 
Result so far: 353.29
If we take 459 away from 480, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Step 8:
210 divided by 51 is 4 with a remainder of 6.
Record the quotient 4 as the next digit in the result. 
Result so far: 353.294
Subtract 204 from 210 to 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.

Step 9:
The number 51 fits into 60 1 times, leaving a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 353.2941
The remainder is 9 after subtracting 51 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 10:
The number 51 fits into 90 1 times, leaving a remainder of 39.
The number 1 becomes the next digit in our result. 
Result so far: 353.29411
If we take 51 away from 90, we end up with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

The final outcome is 353.29411, with a leftover of 3.9e-05.