Let's divide 530038 by 39
The aim is to understand the frequency of 39 in 530038.

Going ahead to step 1:
5 divided by 39 is 0 with 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.
Take the next digit (3) from the dividend and append it to 5, then repeat: 53 / 39

Going ahead to step 2:
39 can be fit into 53 1 times, resulting in a remainder of 14.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 39 from 53 leaves us with 14.
Append the next digit (0) from the dividend to 14 and continue with: 140 / 39

Going ahead to step 3:
39 can be fit into 140 3 times, resulting in a remainder of 23.
Use 3 as the next digit of our solution. 
Result so far: 13.0
Subtract 117 from 140 to get 23.
Append the next digit (0) from the dividend to 23 and continue with: 230 / 39

Let's proceed to step 4:
230 divided by 39 is 5 with a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 135.0
Subtract 195 from 230 to get 35.
Grab the next digit (3) from the dividend, add it to 35, then carry on: 353 / 39

Step 5:
353 divided by 39 is 9 with a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 1359.0
If we take 351 away from 353, we end up with 2.
Include the next digit (8) from the dividend after 2, then repeat: 28 / 39

Going ahead to step 6:
The number 39 fits into 28 0 times, leaving a remainder of 28.
Record the quotient 0 as the next digit in the result. 
Result so far: 13590.0
If we take 0 away from 28, 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.

Going ahead to step 7:
39 goes into 280 7 times with a remainder of 7.
Put 7 as the next digit of the answer. 
Result so far: 13590.7
The remainder is 7 after subtracting 273 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 8:
39 can be fit into 70 1 times, resulting in a remainder of 31.
Use 1 as the next digit of our solution. 
Result so far: 13590.71
If we take 39 away from 70, we end up 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 9:
The number 39 fits into 310 7 times, leaving a remainder of 37.
Record the quotient 7 as the next digit in the result. 
Result so far: 13590.717
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.

Moving on to step 10:
When dividing 370 by 39, we get 9 with a remainder of 19.
Record the quotient 9 as the next digit in the result. 
Result so far: 13590.7179
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.

Advancing to step 11:
39 goes into 190 4 times with a remainder of 34.
Record the quotient 4 as the next digit in the result. 
Result so far: 13590.71794
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.

Advancing to step 12:
39 can be fit into 340 8 times, resulting in a remainder of 28.
The number 8 becomes the next digit in our result. 
Result so far: 13590.717948
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.

On to step 13:
39 can be fit into 280 7 times, resulting in a remainder of 7.
Put 7 as the next digit of the answer. 
Result so far: 13590.7179487
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 14:
70 divided by 39 is 1 with a remainder of 31.
The next digit of our result is 1. 
Result so far: 13590.71794871
If we take 39 away from 70, we end up 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.

The final outcome is 13590.71794871, with a leftover of 3.1e-08.