We're dividing 520542 by 18 
Our goal is to divide 520542 by 18.

Advancing to step 1:
5 divided by 18 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 18

Moving on to step 2:
52 divided by 18 is 2 with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 36 from 52, we get 16.
Grab the next digit (0) from the dividend, add it to 16, then carry on: 160 / 18

Going ahead to step 3:
If we divide 160 by 18, we get 8 and a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 28.0
Subtracting 144 from 160 leaves us with 16.
Fetch the next digit (5) from the dividend, attach it to 16 and continue: 165 / 18

Moving on to step 4:
If we divide 165 by 18, we get 9 and a remainder of 3.
Use 9 as the next digit of our solution. 
Result so far: 289.0
If we subtract 162 from 165, we get 3.
Bring next digit (4) of the dividend behind the 3 and repeat the process: 34 / 18

On to step 5:
18 goes into 34 1 times with a remainder of 16.
Put 1 as the next digit of the answer. 
Result so far: 2891.0
Deduct 18 from 34 and we're left with 16.
Grab the next digit (2) from the dividend, add it to 16, then carry on: 162 / 18

Let's proceed to step 6:
162 divided by 18 is 9 with a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 28919.0
If we subtract 162 from 162, 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.

Going ahead to step 7:
18 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 28919.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.

On to step 8:
When dividing 0 by 18, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 28919.0
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.

The quotient of the division is 28919.0, and the remainder is 0.0.