We divide 501786 by 30
We want to divide 501786 by 30.

On to step 1:
30 goes into 5 0 times with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 30

Moving on to step 2:
When dividing 50 by 30, we get 1 with a remainder of 20.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 30 away from 50, we end up with 20.
Bring next digit (1) of the dividend behind the 20 and repeat the process: 201 / 30

On to step 3:
30 can be fit into 201 6 times, resulting in a remainder of 21.
The next digit of our result is 6. 
Result so far: 16.0
If we take 180 away from 201, we end up with 21.
Include the next digit (7) from the dividend after 21, then repeat: 217 / 30

Going ahead to step 4:
30 goes into 217 7 times with a remainder of 7.
The next digit of our result is 7. 
Result so far: 167.0
The remainder is 7 after subtracting 210 from 217.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 30

Advancing to step 5:
When dividing 78 by 30, we get 2 with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 1672.0
The remainder is 18 after subtracting 60 from 78.
Fetch the next digit (6) from the dividend, attach it to 18 and continue: 186 / 30

Moving on to step 6:
If we divide 186 by 30, we get 6 and a remainder of 6.
Record the quotient 6 as the next digit in the result. 
Result so far: 16726.0
Subtract 180 from 186 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.

Advancing to step 7:
If we divide 60 by 30, we get 2 and a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 16726.2
Subtracting 60 from 60 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.

On to step 8:
When dividing 0 by 30, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 16726.2
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:
0 divided by 30 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 16726.2
The remainder is 0 after subtracting 0 from 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 16726.2, and the remainder is 0.0.