We're dividing 504038 by 84 
Our goal is to divide 504038 by 84.

Going ahead to step 1:
5 divided by 84 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 84

Moving on to step 2:
When dividing 50 by 84, we get 0 with a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 50, we get 50.
Append the next digit (4) from the dividend to 50 and continue with: 504 / 84

On to step 3:
If we divide 504 by 84, we get 6 and a remainder of 0.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
Subtracting 504 from 504 leaves us with 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 84

Going ahead to step 4:
84 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 60.0
If we subtract 0 from 0, we get 0.
Append the next digit (3) from the dividend to 0 and continue with: 3 / 84

Going ahead to step 5:
When dividing 3 by 84, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 600.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 84

Step 6:
84 goes into 38 0 times with a remainder of 38.
The next digit of our result is 0. 
Result so far: 6000.0
Subtract 0 from 38 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Let's proceed to step 7:
84 goes into 380 4 times with a remainder of 44.
Use 4 as the next digit of our solution. 
Result so far: 6000.4
Deduct 336 from 380 and we're left with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

On to step 8:
440 divided by 84 is 5 with a remainder of 20.
The number 5 becomes the next digit in our result. 
Result so far: 6000.45
Subtract 420 from 440 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 9:
If we divide 200 by 84, we get 2 and a remainder of 32.
The number 2 becomes the next digit in our result. 
Result so far: 6000.452
Deduct 168 from 200 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 10:
84 goes into 320 3 times with a remainder of 68.
Record the quotient 3 as the next digit in the result. 
Result so far: 6000.4523
If we take 252 away from 320, we end up with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Going ahead to step 11:
680 divided by 84 is 8 with a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 6000.45238
Subtracting 672 from 680 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 12:
If we divide 80 by 84, we get 0 and a remainder of 80.
Write down 0 as next digit of the result. 
Result so far: 6000.45238
If we subtract 0 from 80, we get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Step 13:
800 divided by 84 is 9 with a remainder of 44.
Write down 9 as next digit of the result. 
Result so far: 6000.4523809
Deduct 756 from 800 and we're left with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Step 14:
84 goes into 440 5 times with a remainder of 20.
Use 5 as the next digit of our solution. 
Result so far: 6000.45238095
If we subtract 420 from 440, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The quotient of the division is 6000.45238095, and the remainder is 2e-08.