We're dividing 504338 by 39 
Our goal is to divide 504338 by 39.

Moving on to step 1:
The number 39 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 39

Going ahead to step 2:
50 divided by 39 is 1 with a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 39 away from 50, we end up with 11.
Append the next digit (4) from the dividend to 11 and continue with: 114 / 39

Moving on to step 3:
114 divided by 39 is 2 with a remainder of 36.
Write down 2 as next digit of the result. 
Result so far: 12.0
If we take 78 away from 114, we end up with 36.
Take the next digit (3) from the dividend and append it to 36, then repeat: 363 / 39

Let's proceed to step 4:
The number 39 fits into 363 9 times, leaving a remainder of 12.
Write down 9 as next digit of the result. 
Result so far: 129.0
If we take 351 away from 363, we end up with 12.
Append the next digit (3) from the dividend to 12 and continue with: 123 / 39

Moving on to step 5:
If we divide 123 by 39, we get 3 and a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 1293.0
The remainder is 6 after subtracting 117 from 123.
Grab the next digit (8) from the dividend, add it to 6, then carry on: 68 / 39

Advancing to step 6:
39 goes into 68 1 times with a remainder of 29.
The number 1 becomes the next digit in our result. 
Result so far: 12931.0
If we subtract 39 from 68, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 7:
290 divided by 39 is 7 with a remainder of 17.
Put 7 as the next digit of the answer. 
Result so far: 12931.7
Subtracting 273 from 290 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 8:
When dividing 170 by 39, we get 4 with a remainder of 14.
The number 4 becomes the next digit in our result. 
Result so far: 12931.74
The remainder is 14 after subtracting 156 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 9:
When dividing 140 by 39, we get 3 with a remainder of 23.
Write down 3 as next digit of the result. 
Result so far: 12931.743
Deduct 117 from 140 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 10:
When dividing 230 by 39, we get 5 with a remainder of 35.
The next digit of our result is 5. 
Result so far: 12931.7435
Subtracting 195 from 230 leaves us with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Going ahead to step 11:
When dividing 350 by 39, we get 8 with a remainder of 38.
The next digit of our result is 8. 
Result so far: 12931.74358
The remainder is 38 after subtracting 312 from 350.
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 12:
When dividing 380 by 39, we get 9 with a remainder of 29.
Write down 9 as next digit of the result. 
Result so far: 12931.743589
If we subtract 351 from 380, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Let's proceed to step 13:
290 divided by 39 is 7 with a remainder of 17.
The next digit of our result is 7. 
Result so far: 12931.7435897
If we take 273 away from 290, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 14:
39 can be fit into 170 4 times, resulting in a remainder of 14.
The next digit of our result is 4. 
Result so far: 12931.74358974
Subtracting 156 from 170 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final result is 12931.74358974 with a remainder of 1.4e-08.