We're dividing 502195 by 39 
We want to figure out the number of times 502195 can be divided by 39.

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
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 39

Step 2:
The number 39 fits into 50 1 times, leaving a remainder of 11.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 39 from 50 to get 11.
Bring next digit (2) of the dividend behind the 11 and repeat the process: 112 / 39

Moving on to step 3:
If we divide 112 by 39, we get 2 and a remainder of 34.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
If we subtract 78 from 112, we get 34.
Take the next digit (1) from the dividend and append it to 34, then repeat: 341 / 39

Moving on to step 4:
When dividing 341 by 39, we get 8 with a remainder of 29.
The next digit of our result is 8. 
Result so far: 128.0
Subtract 312 from 341 to get 29.
Bring next digit (9) of the dividend behind the 29 and repeat the process: 299 / 39

Moving on to step 5:
If we divide 299 by 39, we get 7 and a remainder of 26.
The next digit of our result is 7. 
Result so far: 1287.0
Subtract 273 from 299 to get 26.
Append the next digit (5) from the dividend to 26 and continue with: 265 / 39

Step 6:
If we divide 265 by 39, we get 6 and a remainder of 31.
Write down 6 as next digit of the result. 
Result so far: 12876.0
The remainder is 31 after subtracting 234 from 265.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Step 7:
310 divided by 39 is 7 with a remainder of 37.
Use 7 as the next digit of our solution. 
Result so far: 12876.7
The remainder is 37 after subtracting 273 from 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Step 8:
39 goes into 370 9 times with a remainder of 19.
Write down 9 as next digit of the result. 
Result so far: 12876.79
If we subtract 351 from 370, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 9:
39 can be fit into 190 4 times, resulting in a remainder of 34.
The number 4 becomes the next digit in our result. 
Result so far: 12876.794
Subtracting 156 from 190 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 10:
When dividing 340 by 39, we get 8 with a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 12876.7948
If we take 312 away from 340, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

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

Advancing to step 12:
When dividing 70 by 39, we get 1 with a remainder of 31.
Use 1 as the next digit of our solution. 
Result so far: 12876.794871
Deduct 39 from 70 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Going ahead to step 13:
39 can be fit into 310 7 times, resulting in a remainder of 37.
The number 7 becomes the next digit in our result. 
Result so far: 12876.7948717
Deduct 273 from 310 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Step 14:
39 goes into 370 9 times with a remainder of 19.
Write down 9 as next digit of the result. 
Result so far: 12876.79487179
If we take 351 away from 370, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Our division results in 12876.79487179 with a remaining 1.9e-08.