We look at the division of 931029 by 39 
The aim is to understand the frequency of 39 in 931029.

On to step 1:
If we divide 9 by 39, we get 0 and a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Bring next digit (3) of the dividend behind the 9 and repeat the process: 93 / 39

Moving on to step 2:
When dividing 93 by 39, we get 2 with a remainder of 15.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 15 after subtracting 78 from 93.
Append the next digit (1) from the dividend to 15 and continue with: 151 / 39

Moving on to step 3:
When dividing 151 by 39, we get 3 with a remainder of 34.
Record the quotient 3 as the next digit in the result. 
Result so far: 23.0
Deduct 117 from 151 and we're left with 34.
Bring next digit (0) of the dividend behind the 34 and repeat the process: 340 / 39

Step 4:
When dividing 340 by 39, we get 8 with a remainder of 28.
Use 8 as the next digit of our solution. 
Result so far: 238.0
The remainder is 28 after subtracting 312 from 340.
Fetch the next digit (2) from the dividend, attach it to 28 and continue: 282 / 39

On to step 5:
When dividing 282 by 39, we get 7 with a remainder of 9.
Put 7 as the next digit of the answer. 
Result so far: 2387.0
Subtracting 273 from 282 leaves us with 9.
Grab the next digit (9) from the dividend, add it to 9, then carry on: 99 / 39

Advancing to step 6:
If we divide 99 by 39, we get 2 and a remainder of 21.
Write down 2 as next digit of the result. 
Result so far: 23872.0
Deduct 78 from 99 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 7:
39 can be fit into 210 5 times, resulting in a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 23872.5
If we take 195 away from 210, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 8:
When dividing 150 by 39, we get 3 with a remainder of 33.
The number 3 becomes the next digit in our result. 
Result so far: 23872.53
Subtracting 117 from 150 leaves us with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Going ahead to step 9:
When dividing 330 by 39, we get 8 with a remainder of 18.
Use 8 as the next digit of our solution. 
Result so far: 23872.538
Subtract 312 from 330 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 10:
If we divide 180 by 39, we get 4 and a remainder of 24.
Record the quotient 4 as the next digit in the result. 
Result so far: 23872.5384
Deduct 156 from 180 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 11:
39 goes into 240 6 times with a remainder of 6.
The next digit of our result is 6. 
Result so far: 23872.53846
Deduct 234 from 240 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 12:
39 can be fit into 60 1 times, resulting in a remainder of 21.
The number 1 becomes the next digit in our result. 
Result so far: 23872.538461
If we take 39 away from 60, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 13:
39 goes into 210 5 times with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 23872.5384615
Deduct 195 from 210 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 14:
The number 39 fits into 150 3 times, leaving a remainder of 33.
Write down 3 as next digit of the result. 
Result so far: 23872.53846153
Subtract 117 from 150 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

The final result is 23872.53846153 with a remainder of 3.3e-08.