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

Advancing to step 1:
39 can be fit into 8 0 times, resulting in a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 39

Going ahead to step 2:
If we divide 87 by 39, we get 2 and a remainder of 9.
Use 2 as the next digit of our solution. 
Result so far: 2.0
The remainder is 9 after subtracting 78 from 87.
Include the next digit (4) from the dividend after 9, then repeat: 94 / 39

Let's proceed to step 3:
39 can be fit into 94 2 times, resulting in a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 22.0
Subtract 78 from 94 to get 16.
Include the next digit (8) from the dividend after 16, then repeat: 168 / 39

Let's proceed to step 4:
39 goes into 168 4 times with a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 224.0
Deduct 156 from 168 and we're left with 12.
Bring next digit (3) of the dividend behind the 12 and repeat the process: 123 / 39

Step 5:
The number 39 fits into 123 3 times, leaving a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 2243.0
Deduct 117 from 123 and we're left with 6.
Fetch the next digit (4) from the dividend, attach it to 6 and continue: 64 / 39

Advancing to step 6:
If we divide 64 by 39, we get 1 and a remainder of 25.
Write down 1 as next digit of the result. 
Result so far: 22431.0
If we subtract 39 from 64, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 7:
39 can be fit into 250 6 times, resulting in a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 22431.6
Subtract 234 from 250 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 8:
39 can be fit into 160 4 times, resulting in a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 22431.64
Subtracting 156 from 160 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 9:
If we divide 40 by 39, we get 1 and a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 22431.641
If we take 39 away from 40, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 10:
39 can be fit into 10 0 times, resulting in a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 22431.641
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 11:
39 goes into 100 2 times with a remainder of 22.
Put 2 as the next digit of the answer. 
Result so far: 22431.64102
Subtract 78 from 100 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 12:
If we divide 220 by 39, we get 5 and a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 22431.641025
If we take 195 away from 220, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 13:
The number 39 fits into 250 6 times, leaving a remainder of 16.
The next digit of our result is 6. 
Result so far: 22431.6410256
Subtract 234 from 250 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 14:
When dividing 160 by 39, we get 4 with a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 22431.64102564
The remainder is 4 after subtracting 156 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

After the division, we end up with 22431.64102564 and a remainder of 4e-09.