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

Let's proceed to step 1:
39 can be fit into 7 0 times, resulting in a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Append the next digit (8) from the dividend to 7 and continue with: 78 / 39

Let's proceed to step 2:
When dividing 78 by 39, we get 2 with a remainder of 0.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 0 after subtracting 78 from 78.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 39

Let's proceed to step 3:
If we divide 1 by 39, we get 0 and a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 20.0
Subtracting 0 from 1 leaves us with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 39

Going ahead to step 4:
The number 39 fits into 16 0 times, leaving a remainder of 16.
The next digit of our result is 0. 
Result so far: 200.0
The remainder is 16 after subtracting 0 from 16.
Fetch the next digit (6) from the dividend, attach it to 16 and continue: 166 / 39

Moving on to step 5:
The number 39 fits into 166 4 times, leaving a remainder of 10.
The next digit of our result is 4. 
Result so far: 2004.0
Subtract 156 from 166 to get 10.
Bring next digit (1) of the dividend behind the 10 and repeat the process: 101 / 39

Moving on to step 6:
The number 39 fits into 101 2 times, leaving a remainder of 23.
Record the quotient 2 as the next digit in the result. 
Result so far: 20042.0
Subtracting 78 from 101 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.

Going ahead to step 7:
When dividing 230 by 39, we get 5 with a remainder of 35.
Write down 5 as next digit of the result. 
Result so far: 20042.5
Subtracting 195 from 230 leaves us with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 8:
When dividing 350 by 39, we get 8 with a remainder of 38.
Record the quotient 8 as the next digit in the result. 
Result so far: 20042.58
Deduct 312 from 350 and we're left 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.

On to step 9:
380 divided by 39 is 9 with a remainder of 29.
Use 9 as the next digit of our solution. 
Result so far: 20042.589
Subtract 351 from 380 to get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 10:
39 can be fit into 290 7 times, resulting in a remainder of 17.
The number 7 becomes the next digit in our result. 
Result so far: 20042.5897
Subtracting 273 from 290 leaves us 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.

Advancing to step 11:
The number 39 fits into 170 4 times, leaving a remainder of 14.
Put 4 as the next digit of the answer. 
Result so far: 20042.58974
Subtract 156 from 170 to get 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 12:
140 divided by 39 is 3 with a remainder of 23.
Put 3 as the next digit of the answer. 
Result so far: 20042.589743
Subtract 117 from 140 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Step 13:
The number 39 fits into 230 5 times, leaving a remainder of 35.
The number 5 becomes the next digit in our result. 
Result so far: 20042.5897435
Deduct 195 from 230 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 14:
39 goes into 350 8 times with a remainder of 38.
Record the quotient 8 as the next digit in the result. 
Result so far: 20042.58974358
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.

The final outcome is 20042.58974358, with a leftover of 3.8e-08.