We look at the division of 504704 by 38 
Our goal is to divide 504704 by 38.

Step 1:
5 divided by 38 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 38

Moving on to step 2:
When dividing 50 by 38, we get 1 with a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 38 from 50, we get 12.
Append the next digit (4) from the dividend to 12 and continue with: 124 / 38

Advancing to step 3:
38 can be fit into 124 3 times, resulting in a remainder of 10.
Write down 3 as next digit of the result. 
Result so far: 13.0
Deduct 114 from 124 and we're left with 10.
Append the next digit (7) from the dividend to 10 and continue with: 107 / 38

Advancing to step 4:
The number 38 fits into 107 2 times, leaving a remainder of 31.
Write down 2 as next digit of the result. 
Result so far: 132.0
The remainder is 31 after subtracting 76 from 107.
Bring next digit (0) of the dividend behind the 31 and repeat the process: 310 / 38

Going ahead to step 5:
310 divided by 38 is 8 with a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 1328.0
The remainder is 6 after subtracting 304 from 310.
Fetch the next digit (4) from the dividend, attach it to 6 and continue: 64 / 38

Going ahead to step 6:
38 can be fit into 64 1 times, resulting in a remainder of 26.
Use 1 as the next digit of our solution. 
Result so far: 13281.0
Deduct 38 from 64 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 7:
260 divided by 38 is 6 with a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 13281.6
If we take 228 away from 260, we end up 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.

Going ahead to step 8:
38 can be fit into 320 8 times, resulting in a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 13281.68
If we subtract 304 from 320, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 9:
If we divide 160 by 38, we get 4 and a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 13281.684
Deduct 152 from 160 and we're left 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 10:
The number 38 fits into 80 2 times, leaving a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 13281.6842
If we subtract 76 from 80, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 11:
40 divided by 38 is 1 with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 13281.68421
Subtracting 38 from 40 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 12:
20 divided by 38 is 0 with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 13281.68421
If we subtract 0 from 20, 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.

Moving on to step 13:
38 goes into 200 5 times with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 13281.6842105
Subtracting 190 from 200 leaves us 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.

Moving on to step 14:
38 goes into 100 2 times with a remainder of 24.
The number 2 becomes the next digit in our result. 
Result so far: 13281.68421052
Subtract 76 from 100 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Our division results in 13281.68421052 with a remaining 2.4e-08.