Let's divide 508584 by 30
We want to figure out the number of times 508584 can be divided by 30.

Let's proceed to step 1:
30 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 30

Going ahead to step 2:
30 can be fit into 50 1 times, resulting in a remainder of 20.
The next digit of our result is 1. 
Result so far: 1.0
If we take 30 away from 50, we end up with 20.
Fetch the next digit (8) from the dividend, attach it to 20 and continue: 208 / 30

On to step 3:
The number 30 fits into 208 6 times, leaving a remainder of 28.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
Deduct 180 from 208 and we're left with 28.
Include the next digit (5) from the dividend after 28, then repeat: 285 / 30

Going ahead to step 4:
30 goes into 285 9 times with a remainder of 15.
Write down 9 as next digit of the result. 
Result so far: 169.0
The remainder is 15 after subtracting 270 from 285.
Bring next digit (8) of the dividend behind the 15 and repeat the process: 158 / 30

Advancing to step 5:
If we divide 158 by 30, we get 5 and a remainder of 8.
The next digit of our result is 5. 
Result so far: 1695.0
If we take 150 away from 158, we end up with 8.
Fetch the next digit (4) from the dividend, attach it to 8 and continue: 84 / 30

Step 6:
84 divided by 30 is 2 with a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 16952.0
Subtracting 60 from 84 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 7:
30 goes into 240 8 times with a remainder of 0.
Record the quotient 8 as the next digit in the result. 
Result so far: 16952.8
The remainder is 0 after subtracting 240 from 240.
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:
If we divide 0 by 30, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 16952.8
If we subtract 0 from 0, 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.

On to step 9:
If we divide 0 by 30, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 16952.8
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.

After the division, we end up with 16952.8 and a remainder of 0.0.