We're dividing 597188 by 18 
Let's see how many times 18 fits into 597188.

Let's proceed to step 1:
18 can be fit into 5 0 times, resulting in a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (9) from the dividend to 5 and continue with: 59 / 18

Let's proceed to step 2:
If we divide 59 by 18, we get 3 and a remainder of 5.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we subtract 54 from 59, we get 5.
Append the next digit (7) from the dividend to 5 and continue with: 57 / 18

Moving on to step 3:
The number 18 fits into 57 3 times, leaving a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 33.0
The remainder is 3 after subtracting 54 from 57.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 18

Step 4:
If we divide 31 by 18, we get 1 and a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 331.0
Deduct 18 from 31 and we're left with 13.
Take the next digit (8) from the dividend and append it to 13, then repeat: 138 / 18

Let's proceed to step 5:
18 goes into 138 7 times with a remainder of 12.
Record the quotient 7 as the next digit in the result. 
Result so far: 3317.0
If we take 126 away from 138, we end up with 12.
Include the next digit (8) from the dividend after 12, then repeat: 128 / 18

On to step 6:
128 divided by 18 is 7 with a remainder of 2.
The next digit of our result is 7. 
Result so far: 33177.0
Subtracting 126 from 128 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
18 goes into 20 1 times with a remainder of 2.
The next digit of our result is 1. 
Result so far: 33177.1
Subtract 18 from 20 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.

Let's proceed to step 8:
18 goes into 20 1 times with a remainder of 2.
The next digit of our result is 1. 
Result so far: 33177.11
If we subtract 18 from 20, we 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.

The quotient of the division is 33177.11, and the remainder is 0.002.