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

Advancing to step 1:
9 divided by 39 is 0 with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Bring next digit (1) of the dividend behind the 9 and repeat the process: 91 / 39

Going ahead to step 2:
When dividing 91 by 39, we get 2 with a remainder of 13.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we subtract 78 from 91, we get 13.
Append the next digit (6) from the dividend to 13 and continue with: 136 / 39

On to step 3:
If we divide 136 by 39, we get 3 and a remainder of 19.
The next digit of our result is 3. 
Result so far: 23.0
The remainder is 19 after subtracting 117 from 136.
Take the next digit (1) from the dividend and append it to 19, then repeat: 191 / 39

On to step 4:
The number 39 fits into 191 4 times, leaving a remainder of 35.
Use 4 as the next digit of our solution. 
Result so far: 234.0
If we take 156 away from 191, we end up with 35.
Grab the next digit (8) from the dividend, add it to 35, then carry on: 358 / 39

Moving on to step 5:
39 can be fit into 358 9 times, resulting in a remainder of 7.
Use 9 as the next digit of our solution. 
Result so far: 2349.0
Deduct 351 from 358 and we're left with 7.
Fetch the next digit (7) from the dividend, attach it to 7 and continue: 77 / 39

On to step 6:
39 goes into 77 1 times with a remainder of 38.
The number 1 becomes the next digit in our result. 
Result so far: 23491.0
If we subtract 39 from 77, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 7:
380 divided by 39 is 9 with a remainder of 29.
The number 9 becomes the next digit in our result. 
Result so far: 23491.9
The remainder is 29 after subtracting 351 from 380.
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 8:
39 can be fit into 290 7 times, resulting in a remainder of 17.
Record the quotient 7 as the next digit in the result. 
Result so far: 23491.97
Subtracting 273 from 290 leaves us 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.

Let's proceed to step 9:
If we divide 170 by 39, we get 4 and a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 23491.974
Subtract 156 from 170 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 10:
The number 39 fits into 140 3 times, leaving a remainder of 23.
The number 3 becomes the next digit in our result. 
Result so far: 23491.9743
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.

Let's proceed to step 11:
If we divide 230 by 39, we get 5 and a remainder of 35.
Write down 5 as next digit of the result. 
Result so far: 23491.97435
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.

Step 12:
39 goes into 350 8 times with a remainder of 38.
Write down 8 as next digit of the result. 
Result so far: 23491.974358
Subtract 312 from 350 to get 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 13:
The number 39 fits into 380 9 times, leaving a remainder of 29.
The number 9 becomes the next digit in our result. 
Result so far: 23491.9743589
If we take 351 away from 380, we end up 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.

Advancing to step 14:
39 goes into 290 7 times with a remainder of 17.
Write down 7 as next digit of the result. 
Result so far: 23491.97435897
If we take 273 away from 290, we end up 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.

In conclusion, the division gives 23491.97435897 with a balance of 1.7e-08.