We're dividing 976907 by 39 
The aim is to understand the frequency of 39 in 976907.

Going ahead to step 1:
The number 39 fits into 9 0 times, leaving a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Bring next digit (7) of the dividend behind the 9 and repeat the process: 97 / 39

Let's proceed to step 2:
97 divided by 39 is 2 with a remainder of 19.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 19 after subtracting 78 from 97.
Grab the next digit (6) from the dividend, add it to 19, then carry on: 196 / 39

On to step 3:
The number 39 fits into 196 5 times, leaving a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 25.0
Deduct 195 from 196 and we're left with 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 39

Going ahead to step 4:
The number 39 fits into 19 0 times, leaving a remainder of 19.
The next digit of our result is 0. 
Result so far: 250.0
If we subtract 0 from 19, we get 19.
Grab the next digit (0) from the dividend, add it to 19, then carry on: 190 / 39

Advancing to step 5:
If we divide 190 by 39, we get 4 and a remainder of 34.
The number 4 becomes the next digit in our result. 
Result so far: 2504.0
If we take 156 away from 190, we end up with 34.
Take the next digit (7) from the dividend and append it to 34, then repeat: 347 / 39

Let's proceed to step 6:
The number 39 fits into 347 8 times, leaving a remainder of 35.
Use 8 as the next digit of our solution. 
Result so far: 25048.0
If we subtract 312 from 347, 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 7:
350 divided by 39 is 8 with a remainder of 38.
Put 8 as the next digit of the answer. 
Result so far: 25048.8
The remainder is 38 after subtracting 312 from 350.
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 8:
When dividing 380 by 39, we get 9 with a remainder of 29.
Record the quotient 9 as the next digit in the result. 
Result so far: 25048.89
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.

Moving on to step 9:
When dividing 290 by 39, we get 7 with a remainder of 17.
The next digit of our result is 7. 
Result so far: 25048.897
Deduct 273 from 290 and we're left 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.

Going ahead to step 10:
When dividing 170 by 39, we get 4 with a remainder of 14.
Put 4 as the next digit of the answer. 
Result so far: 25048.8974
If we take 156 away from 170, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 11:
140 divided by 39 is 3 with a remainder of 23.
Record the quotient 3 as the next digit in the result. 
Result so far: 25048.89743
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.

Advancing to step 12:
39 goes into 230 5 times with a remainder of 35.
The number 5 becomes the next digit in our result. 
Result so far: 25048.897435
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 13:
When dividing 350 by 39, we get 8 with a remainder of 38.
Use 8 as the next digit of our solution. 
Result so far: 25048.8974358
If we take 312 away from 350, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 14:
When dividing 380 by 39, we get 9 with a remainder of 29.
The number 9 becomes the next digit in our result. 
Result so far: 25048.89743589
Deduct 351 from 380 and we're left 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.

Our division results in 25048.89743589 with a remaining 2.9e-08.