We divide 502571 by 39
We want to figure out the number of times 502571 can be divided by 39.

Moving on to step 1:
When dividing 5 by 39, we get 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.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 39

Moving on to step 2:
If we divide 50 by 39, we get 1 and a remainder of 11.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 39 away from 50, we end up with 11.
Include the next digit (2) from the dividend after 11, then repeat: 112 / 39

Step 3:
When dividing 112 by 39, we get 2 with 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.
Grab the next digit (5) from the dividend, add it to 34, then carry on: 345 / 39

Advancing to step 4:
39 can be fit into 345 8 times, resulting in a remainder of 33.
Record the quotient 8 as the next digit in the result. 
Result so far: 128.0
Deduct 312 from 345 and we're left with 33.
Bring next digit (7) of the dividend behind the 33 and repeat the process: 337 / 39

Moving on to step 5:
When dividing 337 by 39, we get 8 with a remainder of 25.
Put 8 as the next digit of the answer. 
Result so far: 1288.0
Subtract 312 from 337 to get 25.
Append the next digit (1) from the dividend to 25 and continue with: 251 / 39

Let's proceed to step 6:
39 goes into 251 6 times with a remainder of 17.
The next digit of our result is 6. 
Result so far: 12886.0
If we subtract 234 from 251, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 7:
39 can be fit into 170 4 times, resulting in a remainder of 14.
Put 4 as the next digit of the answer. 
Result so far: 12886.4
Deduct 156 from 170 and we're left 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.

On to step 8:
39 goes into 140 3 times with a remainder of 23.
Put 3 as the next digit of the answer. 
Result so far: 12886.43
Subtracting 117 from 140 leaves us 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.

Moving on to step 9:
39 goes into 230 5 times with a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 12886.435
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.

Let's proceed to step 10:
39 can be fit into 350 8 times, resulting in a remainder of 38.
The number 8 becomes the next digit in our result. 
Result so far: 12886.4358
Subtracting 312 from 350 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 11:
39 can be fit into 380 9 times, resulting in a remainder of 29.
Record the quotient 9 as the next digit in the result. 
Result so far: 12886.43589
Deduct 351 from 380 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 12:
If we divide 290 by 39, we get 7 and a remainder of 17.
Record the quotient 7 as the next digit in the result. 
Result so far: 12886.435897
Subtract 273 from 290 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 13:
If we divide 170 by 39, we get 4 and a remainder of 14.
The number 4 becomes the next digit in our result. 
Result so far: 12886.4358974
Deduct 156 from 170 and we're left 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.

Advancing to step 14:
140 divided by 39 is 3 with a remainder of 23.
The next digit of our result is 3. 
Result so far: 12886.43589743
Subtract 117 from 140 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

After the division, we end up with 12886.43589743 and a remainder of 2.3e-08.