We look at the division of 508524 by 18 
We want to divide 508524 by 18.

On 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 (0) from the dividend to 5 and continue with: 50 / 18

Advancing to step 2:
When dividing 50 by 18, we get 2 with a remainder of 14.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 36 from 50 and we're left with 14.
Append the next digit (8) from the dividend to 14 and continue with: 148 / 18

Step 3:
18 can be fit into 148 8 times, resulting in a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 28.0
Subtracting 144 from 148 leaves us with 4.
Grab the next digit (5) from the dividend, add it to 4, then carry on: 45 / 18

Going ahead to step 4:
18 goes into 45 2 times with a remainder of 9.
The next digit of our result is 2. 
Result so far: 282.0
Deduct 36 from 45 and we're left with 9.
Append the next digit (2) from the dividend to 9 and continue with: 92 / 18

Going ahead to step 5:
If we divide 92 by 18, we get 5 and a remainder of 2.
Put 5 as the next digit of the answer. 
Result so far: 2825.0
If we subtract 90 from 92, we get 2.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 18

On to step 6:
The number 18 fits into 24 1 times, leaving a remainder of 6.
Record the quotient 1 as the next digit in the result. 
Result so far: 28251.0
If we subtract 18 from 24, we 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.

Going ahead to step 7:
The number 18 fits into 60 3 times, leaving a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 28251.3
The remainder is 6 after subtracting 54 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 8:
18 goes into 60 3 times with a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 28251.33
If we take 54 away from 60, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Our division results in 28251.33 with a remaining 0.006.