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

Advancing to step 1:
6 divided by 39 is 0 with a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Append the next digit (6) from the dividend to 6 and continue with: 66 / 39

On to step 2:
39 goes into 66 1 times with a remainder of 27.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 27 after subtracting 39 from 66.
Append the next digit (4) from the dividend to 27 and continue with: 274 / 39

Moving on to step 3:
39 goes into 274 7 times with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 17.0
If we take 273 away from 274, we end up with 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 39

Going ahead to step 4:
When dividing 11 by 39, we get 0 with a remainder of 11.
Put 0 as the next digit of the answer. 
Result so far: 170.0
If we take 0 away from 11, we end up with 11.
Append the next digit (7) from the dividend to 11 and continue with: 117 / 39

Let's proceed to step 5:
39 can be fit into 117 3 times, resulting in a remainder of 0.
Write down 3 as next digit of the result. 
Result so far: 1703.0
Subtract 117 from 117 to get 0.
Bring next digit (2) of the dividend behind the 0 and repeat the process: 2 / 39

Let's proceed to step 6:
2 divided by 39 is 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 17030.0
Subtract 0 from 2 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
The number 39 fits into 20 0 times, leaving a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 17030.0
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 8:
39 can be fit into 200 5 times, resulting in a remainder of 5.
The next digit of our result is 5. 
Result so far: 17030.05
The remainder is 5 after subtracting 195 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 9:
When dividing 50 by 39, we get 1 with a remainder of 11.
Put 1 as the next digit of the answer. 
Result so far: 17030.051
Subtracting 39 from 50 leaves us 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 10:
39 goes into 110 2 times with a remainder of 32.
Write down 2 as next digit of the result. 
Result so far: 17030.0512
The remainder is 32 after subtracting 78 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 11:
If we divide 320 by 39, we get 8 and a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 17030.05128
Subtract 312 from 320 to 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.

Let's proceed to step 12:
When dividing 80 by 39, we get 2 with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 17030.051282
Subtracting 78 from 80 leaves us 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.

Advancing to step 13:
39 goes into 20 0 times with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 17030.051282
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.

Going ahead to step 14:
The number 39 fits into 200 5 times, leaving a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 17030.05128205
Subtract 195 from 200 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The final outcome is 17030.05128205, with a leftover of 5e-09.