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

On to step 1:
When dividing 6 by 39, we get 0 with a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Include the next digit (3) from the dividend after 6, then repeat: 63 / 39

Going ahead to step 2:
The number 39 fits into 63 1 times, leaving a remainder of 24.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 39 from 63, we get 24.
Bring next digit (4) of the dividend behind the 24 and repeat the process: 244 / 39

Advancing to step 3:
244 divided by 39 is 6 with a remainder of 10.
Use 6 as the next digit of our solution. 
Result so far: 16.0
Subtract 234 from 244 to get 10.
Fetch the next digit (8) from the dividend, attach it to 10 and continue: 108 / 39

On to step 4:
If we divide 108 by 39, we get 2 and a remainder of 30.
The number 2 becomes the next digit in our result. 
Result so far: 162.0
Deduct 78 from 108 and we're left with 30.
Include the next digit (9) from the dividend after 30, then repeat: 309 / 39

Step 5:
39 goes into 309 7 times with a remainder of 36.
Write down 7 as next digit of the result. 
Result so far: 1627.0
Deduct 273 from 309 and we're left with 36.
Grab the next digit (7) from the dividend, add it to 36, then carry on: 367 / 39

Step 6:
39 goes into 367 9 times with a remainder of 16.
The next digit of our result is 9. 
Result so far: 16279.0
If we take 351 away from 367, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 7:
39 goes into 160 4 times with a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 16279.4
If we take 156 away from 160, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 8:
39 can be fit into 40 1 times, resulting in a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 16279.41
Subtracting 39 from 40 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 9:
If we divide 10 by 39, we get 0 and a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 16279.41
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 10:
39 can be fit into 100 2 times, resulting in a remainder of 22.
Record the quotient 2 as the next digit in the result. 
Result so far: 16279.4102
If we subtract 78 from 100, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 11:
When dividing 220 by 39, we get 5 with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 16279.41025
If we subtract 195 from 220, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 12:
The number 39 fits into 250 6 times, leaving a remainder of 16.
The number 6 becomes the next digit in our result. 
Result so far: 16279.410256
If we subtract 234 from 250, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 13:
If we divide 160 by 39, we get 4 and a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 16279.4102564
If we subtract 156 from 160, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 14:
39 goes into 40 1 times with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 16279.41025641
If we take 39 away from 40, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

In conclusion, the division gives 16279.41025641 with a balance of 1e-09.