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

Step 1:
If we divide 6 by 39, we get 0 and a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Grab the next digit (6) from the dividend, add it to 6, then carry on: 66 / 39

Let's proceed to step 2:
When dividing 66 by 39, we get 1 with a remainder of 27.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 39 away from 66, we end up with 27.
Bring next digit (4) of the dividend behind the 27 and repeat the process: 274 / 39

Step 3:
The number 39 fits into 274 7 times, leaving a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 17.0
Subtract 273 from 274 to get 1.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 39

On to step 4:
The number 39 fits into 17 0 times, leaving a remainder of 17.
Use 0 as the next digit of our solution. 
Result so far: 170.0
Subtracting 0 from 17 leaves us with 17.
Fetch the next digit (0) from the dividend, attach it to 17 and continue: 170 / 39

Step 5:
170 divided by 39 is 4 with a remainder of 14.
The next digit of our result is 4. 
Result so far: 1704.0
If we subtract 156 from 170, we get 14.
Take the next digit (5) from the dividend and append it to 14, then repeat: 145 / 39

Moving on to step 6:
39 can be fit into 145 3 times, resulting in a remainder of 28.
The number 3 becomes the next digit in our result. 
Result so far: 17043.0
Deduct 117 from 145 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 7:
280 divided by 39 is 7 with a remainder of 7.
Put 7 as the next digit of the answer. 
Result so far: 17043.7
Subtracting 273 from 280 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 8:
39 goes into 70 1 times with a remainder of 31.
Record the quotient 1 as the next digit in the result. 
Result so far: 17043.71
If we subtract 39 from 70, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Let's proceed to step 9:
39 can be fit into 310 7 times, resulting in a remainder of 37.
The next digit of our result is 7. 
Result so far: 17043.717
If we subtract 273 from 310, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Step 10:
The number 39 fits into 370 9 times, leaving a remainder of 19.
The next digit of our result is 9. 
Result so far: 17043.7179
Deduct 351 from 370 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 11:
When dividing 190 by 39, we get 4 with a remainder of 34.
Record the quotient 4 as the next digit in the result. 
Result so far: 17043.71794
Deduct 156 from 190 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 12:
When dividing 340 by 39, we get 8 with a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 17043.717948
The remainder is 28 after subtracting 312 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 13:
If we divide 280 by 39, we get 7 and a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 17043.7179487
Subtracting 273 from 280 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 14:
39 can be fit into 70 1 times, resulting in a remainder of 31.
Put 1 as the next digit of the answer. 
Result so far: 17043.71794871
The remainder is 31 after subtracting 39 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

The final outcome is 17043.71794871, with a leftover of 3.1e-08.