504768 ÷ 30 
We're looking to find how many times 30 goes into 504768.

Going ahead to step 1:
30 can be fit into 5 0 times, resulting in 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.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 30

Going ahead to step 2:
50 divided by 30 is 1 with a remainder of 20.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 30 from 50 to get 20.
Take the next digit (4) from the dividend and append it to 20, then repeat: 204 / 30

Step 3:
30 can be fit into 204 6 times, resulting in a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
The remainder is 24 after subtracting 180 from 204.
Grab the next digit (7) from the dividend, add it to 24, then carry on: 247 / 30

Going ahead to step 4:
247 divided by 30 is 8 with a remainder of 7.
Write down 8 as next digit of the result. 
Result so far: 168.0
If we subtract 240 from 247, we get 7.
Append the next digit (6) from the dividend to 7 and continue with: 76 / 30

Moving on to step 5:
30 can be fit into 76 2 times, resulting in a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 1682.0
The remainder is 16 after subtracting 60 from 76.
Fetch the next digit (8) from the dividend, attach it to 16 and continue: 168 / 30

Going ahead to step 6:
If we divide 168 by 30, we get 5 and a remainder of 18.
The number 5 becomes the next digit in our result. 
Result so far: 16825.0
If we take 150 away from 168, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 7:
30 goes into 180 6 times with a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 16825.6
If we subtract 180 from 180, 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 8:
If we divide 0 by 30, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 16825.6
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.

Going ahead to step 9:
0 divided by 30 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 16825.6
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.

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