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

On to step 1:
The number 39 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 39

Going ahead to step 2:
When dividing 37 by 39, we get 0 with a remainder of 37.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 37, we end up with 37.
Include the next digit (8) from the dividend after 37, then repeat: 378 / 39

Going ahead to step 3:
39 can be fit into 378 9 times, resulting in a remainder of 27.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
Subtracting 351 from 378 leaves us with 27.
Include the next digit (5) from the dividend after 27, then repeat: 275 / 39

Going ahead to step 4:
39 can be fit into 275 7 times, resulting in a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 97.0
If we subtract 273 from 275, we get 2.
Include the next digit (4) from the dividend after 2, then repeat: 24 / 39

Let's proceed to step 5:
If we divide 24 by 39, we get 0 and a remainder of 24.
Use 0 as the next digit of our solution. 
Result so far: 970.0
Subtract 0 from 24 to get 24.
Fetch the next digit (2) from the dividend, attach it to 24 and continue: 242 / 39

On to step 6:
39 can be fit into 242 6 times, resulting in a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 9706.0
If we take 234 away from 242, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 7:
The number 39 fits into 80 2 times, leaving a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 9706.2
Deduct 78 from 80 and we're left 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.

Let's proceed to step 8:
When dividing 20 by 39, we get 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 9706.2
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 9:
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: 9706.205
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.

Advancing to step 10:
39 can be fit into 50 1 times, resulting in a remainder of 11.
The next digit of our result is 1. 
Result so far: 9706.2051
Deduct 39 from 50 and we're left 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.

Advancing to step 11:
If we divide 110 by 39, we get 2 and a remainder of 32.
Write down 2 as next digit of the result. 
Result so far: 9706.20512
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.

Advancing to step 12:
320 divided by 39 is 8 with a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 9706.205128
The remainder is 8 after subtracting 312 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 13:
If we divide 80 by 39, we get 2 and a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 9706.2051282
Deduct 78 from 80 and we're left 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.

On to step 14:
39 goes into 20 0 times with a remainder of 20.
The next digit of our result is 0. 
Result so far: 9706.2051282
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Our division results in 9706.2051282 with a remaining 2e-08.