We divide 502841 by 39
The aim is to understand the frequency of 39 in 502841.

Step 1:
39 goes into 5 0 times with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 39

Step 2:
39 goes into 50 1 times with a remainder of 11.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 39 from 50 to get 11.
Include the next digit (2) from the dividend after 11, then repeat: 112 / 39

Going ahead to step 3:
39 goes into 112 2 times with a remainder of 34.
Put 2 as the next digit of the answer. 
Result so far: 12.0
Subtract 78 from 112 to get 34.
Bring next digit (8) of the dividend behind the 34 and repeat the process: 348 / 39

Moving on to step 4:
The number 39 fits into 348 8 times, leaving a remainder of 36.
Write down 8 as next digit of the result. 
Result so far: 128.0
Subtracting 312 from 348 leaves us with 36.
Take the next digit (4) from the dividend and append it to 36, then repeat: 364 / 39

On to step 5:
The number 39 fits into 364 9 times, leaving a remainder of 13.
The number 9 becomes the next digit in our result. 
Result so far: 1289.0
The remainder is 13 after subtracting 351 from 364.
Grab the next digit (1) from the dividend, add it to 13, then carry on: 131 / 39

Moving on to step 6:
39 goes into 131 3 times with a remainder of 14.
The number 3 becomes the next digit in our result. 
Result so far: 12893.0
Deduct 117 from 131 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.

Let's proceed to step 7:
140 divided by 39 is 3 with a remainder of 23.
The next digit of our result is 3. 
Result so far: 12893.3
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.

On to step 8:
39 goes into 230 5 times with a remainder of 35.
The next digit of our result is 5. 
Result so far: 12893.35
If we subtract 195 from 230, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Moving on to step 9:
The number 39 fits into 350 8 times, leaving a remainder of 38.
The number 8 becomes the next digit in our result. 
Result so far: 12893.358
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.

Step 10:
The number 39 fits into 380 9 times, leaving a remainder of 29.
Put 9 as the next digit of the answer. 
Result so far: 12893.3589
Subtract 351 from 380 to 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 11:
290 divided by 39 is 7 with a remainder of 17.
Write down 7 as next digit of the result. 
Result so far: 12893.35897
Deduct 273 from 290 and we're left 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.

Step 12:
The number 39 fits into 170 4 times, leaving a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 12893.358974
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 13:
140 divided by 39 is 3 with a remainder of 23.
The next digit of our result is 3. 
Result so far: 12893.3589743
The remainder is 23 after subtracting 117 from 140.
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 14:
If we divide 230 by 39, we get 5 and a remainder of 35.
Use 5 as the next digit of our solution. 
Result so far: 12893.35897435
If we subtract 195 from 230, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

In conclusion, the division gives 12893.35897435 with a balance of 3.5e-08.