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

Let's proceed to step 1:
The number 39 fits into 9 0 times, leaving a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Grab the next digit (6) from the dividend, add it to 9, then carry on: 96 / 39

Step 2:
The number 39 fits into 96 2 times, leaving a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 78 away from 96, we end up with 18.
Include the next digit (5) from the dividend after 18, then repeat: 185 / 39

Advancing to step 3:
39 can be fit into 185 4 times, resulting in a remainder of 29.
Write down 4 as next digit of the result. 
Result so far: 24.0
Deduct 156 from 185 and we're left with 29.
Fetch the next digit (0) from the dividend, attach it to 29 and continue: 290 / 39

Advancing to step 4:
290 divided by 39 is 7 with a remainder of 17.
Use 7 as the next digit of our solution. 
Result so far: 247.0
If we take 273 away from 290, we end up with 17.
Include the next digit (0) from the dividend after 17, then repeat: 170 / 39

Going ahead to step 5:
39 goes into 170 4 times with a remainder of 14.
The next digit of our result is 4. 
Result so far: 2474.0
If we take 156 away from 170, we end up with 14.
Bring next digit (9) of the dividend behind the 14 and repeat the process: 149 / 39

Step 6:
39 goes into 149 3 times with a remainder of 32.
The number 3 becomes the next digit in our result. 
Result so far: 24743.0
If we take 117 away from 149, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 7:
If we divide 320 by 39, we get 8 and a remainder of 8.
The next digit of our result is 8. 
Result so far: 24743.8
If we subtract 312 from 320, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 8:
If we divide 80 by 39, we get 2 and a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 24743.82
Deduct 78 from 80 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 9:
The number 39 fits into 20 0 times, leaving a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 24743.82
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 10:
When dividing 200 by 39, we get 5 with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 24743.8205
Deduct 195 from 200 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 11:
When dividing 50 by 39, we get 1 with a remainder of 11.
The next digit of our result is 1. 
Result so far: 24743.82051
Deduct 39 from 50 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 12:
39 can be fit into 110 2 times, resulting in a remainder of 32.
The number 2 becomes the next digit in our result. 
Result so far: 24743.820512
If we subtract 78 from 110, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 13:
When dividing 320 by 39, we get 8 with a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 24743.8205128
Deduct 312 from 320 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 14:
39 goes into 80 2 times with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 24743.82051282
If we take 78 away from 80, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final result is 24743.82051282 with a remainder of 2e-09.