872142 divided by 39 
The aim is to understand the frequency of 39 in 872142.

On to step 1:
39 goes into 8 0 times with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 39

On to step 2:
The number 39 fits into 87 2 times, leaving a remainder of 9.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 78 from 87 leaves us with 9.
Bring next digit (2) of the dividend behind the 9 and repeat the process: 92 / 39

On to step 3:
When dividing 92 by 39, we get 2 with a remainder of 14.
The number 2 becomes the next digit in our result. 
Result so far: 22.0
Subtracting 78 from 92 leaves us with 14.
Take the next digit (1) from the dividend and append it to 14, then repeat: 141 / 39

Going ahead to step 4:
If we divide 141 by 39, we get 3 and a remainder of 24.
Write down 3 as next digit of the result. 
Result so far: 223.0
If we subtract 117 from 141, we get 24.
Bring next digit (4) of the dividend behind the 24 and repeat the process: 244 / 39

Advancing to step 5:
39 can be fit into 244 6 times, resulting in a remainder of 10.
The next digit of our result is 6. 
Result so far: 2236.0
Subtract 234 from 244 to get 10.
Append the next digit (2) from the dividend to 10 and continue with: 102 / 39

Step 6:
39 goes into 102 2 times with a remainder of 24.
Write down 2 as next digit of the result. 
Result so far: 22362.0
The remainder is 24 after subtracting 78 from 102.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 7:
If we divide 240 by 39, we get 6 and a remainder of 6.
The next digit of our result is 6. 
Result so far: 22362.6
If we take 234 away from 240, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 8:
39 goes into 60 1 times with a remainder of 21.
Use 1 as the next digit of our solution. 
Result so far: 22362.61
The remainder is 21 after subtracting 39 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 9:
39 goes into 210 5 times with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 22362.615
The remainder is 15 after subtracting 195 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 10:
150 divided by 39 is 3 with a remainder of 33.
Record the quotient 3 as the next digit in the result. 
Result so far: 22362.6153
The remainder is 33 after subtracting 117 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Let's proceed to step 11:
330 divided by 39 is 8 with a remainder of 18.
The number 8 becomes the next digit in our result. 
Result so far: 22362.61538
If we subtract 312 from 330, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 12:
39 can be fit into 180 4 times, resulting in a remainder of 24.
Record the quotient 4 as the next digit in the result. 
Result so far: 22362.615384
Subtract 156 from 180 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 13:
The number 39 fits into 240 6 times, leaving a remainder of 6.
Use 6 as the next digit of our solution. 
Result so far: 22362.6153846
The remainder is 6 after subtracting 234 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 14:
If we divide 60 by 39, we get 1 and a remainder of 21.
The next digit of our result is 1. 
Result so far: 22362.61538461
Deduct 39 from 60 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

The final outcome is 22362.61538461, with a leftover of 2.1e-08.