We divide 504937 by 30
We want to figure out the number of times 504937 can be divided by 30.

Step 1:
5 divided by 30 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 30

On to step 2:
30 goes into 50 1 times with a remainder of 20.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 30 from 50 and we're left with 20.
Take the next digit (4) from the dividend and append it to 20, then repeat: 204 / 30

Step 3:
The number 30 fits into 204 6 times, leaving a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 16.0
The remainder is 24 after subtracting 180 from 204.
Take the next digit (9) from the dividend and append it to 24, then repeat: 249 / 30

On to step 4:
30 can be fit into 249 8 times, resulting in a remainder of 9.
Write down 8 as next digit of the result. 
Result so far: 168.0
The remainder is 9 after subtracting 240 from 249.
Include the next digit (3) from the dividend after 9, then repeat: 93 / 30

Let's proceed to step 5:
30 can be fit into 93 3 times, resulting in a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 1683.0
Deduct 90 from 93 and we're left with 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 30

On to step 6:
30 goes into 37 1 times with a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 16831.0
The remainder is 7 after subtracting 30 from 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 7:
When dividing 70 by 30, we get 2 with a remainder of 10.
Use 2 as the next digit of our solution. 
Result so far: 16831.2
Deduct 60 from 70 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 8:
30 goes into 100 3 times with a remainder of 10.
The next digit of our result is 3. 
Result so far: 16831.23
The remainder is 10 after subtracting 90 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 9:
If we divide 100 by 30, we get 3 and a remainder of 10.
Record the quotient 3 as the next digit in the result. 
Result so far: 16831.233
Subtract 90 from 100 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The quotient of the division is 16831.233, and the remainder is 0.001.