965058 divided by 39 
The aim is to understand the frequency of 39 in 965058.

Moving on to step 1:
39 goes into 9 0 times with a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Grab the next digit (6) from the dividend, add it to 9, then carry on: 96 / 39

On to step 2:
39 goes into 96 2 times with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 78 away from 96, we end up with 18.
Fetch the next digit (5) from the dividend, attach it to 18 and continue: 185 / 39

Moving on to step 3:
When dividing 185 by 39, we get 4 with a remainder of 29.
The next digit of our result is 4. 
Result so far: 24.0
Subtract 156 from 185 to get 29.
Fetch the next digit (0) from the dividend, attach it to 29 and continue: 290 / 39

Let's proceed to step 4:
290 divided by 39 is 7 with a remainder of 17.
Write down 7 as next digit of the result. 
Result so far: 247.0
If we take 273 away from 290, we end up with 17.
Append the next digit (5) from the dividend to 17 and continue with: 175 / 39

Let's proceed to step 5:
175 divided by 39 is 4 with a remainder of 19.
Put 4 as the next digit of the answer. 
Result so far: 2474.0
Subtract 156 from 175 to get 19.
Append the next digit (8) from the dividend to 19 and continue with: 198 / 39

Advancing to step 6:
198 divided by 39 is 5 with a remainder of 3.
The number 5 becomes the next digit in our result. 
Result so far: 24745.0
If we take 195 away from 198, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

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

Moving on to step 8:
300 divided by 39 is 7 with a remainder of 27.
The next digit of our result is 7. 
Result so far: 24745.07
Deduct 273 from 300 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 9:
39 goes into 270 6 times with a remainder of 36.
The number 6 becomes the next digit in our result. 
Result so far: 24745.076
Subtract 234 from 270 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 10:
If we divide 360 by 39, we get 9 and a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 24745.0769
If we take 351 away from 360, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 11:
When dividing 90 by 39, we get 2 with a remainder of 12.
Record the quotient 2 as the next digit in the result. 
Result so far: 24745.07692
Deduct 78 from 90 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 12:
If we divide 120 by 39, we get 3 and a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 24745.076923
Subtract 117 from 120 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 13:
If we divide 30 by 39, we get 0 and a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 24745.076923
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 14:
39 goes into 300 7 times with a remainder of 27.
The next digit of our result is 7. 
Result so far: 24745.07692307
Subtracting 273 from 300 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

After the division, we end up with 24745.07692307 and a remainder of 2.7e-08.