We look at the division of 861895 by 78 
The aim is to understand the frequency of 78 in 861895.

Going ahead to step 1:
78 can be fit into 8 0 times, resulting in a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Fetch the next digit (6) from the dividend, attach it to 8 and continue: 86 / 78

On to step 2:
86 divided by 78 is 1 with a remainder of 8.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 8 after subtracting 78 from 86.
Append the next digit (1) from the dividend to 8 and continue with: 81 / 78

On to step 3:
78 goes into 81 1 times with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 11.0
The remainder is 3 after subtracting 78 from 81.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 78

Moving on to step 4:
78 goes into 38 0 times with a remainder of 38.
Write down 0 as next digit of the result. 
Result so far: 110.0
If we subtract 0 from 38, we get 38.
Include the next digit (9) from the dividend after 38, then repeat: 389 / 78

Advancing to step 5:
389 divided by 78 is 4 with a remainder of 77.
Use 4 as the next digit of our solution. 
Result so far: 1104.0
The remainder is 77 after subtracting 312 from 389.
Fetch the next digit (5) from the dividend, attach it to 77 and continue: 775 / 78

Step 6:
775 divided by 78 is 9 with a remainder of 73.
Record the quotient 9 as the next digit in the result. 
Result so far: 11049.0
Subtracting 702 from 775 leaves us with 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

On to step 7:
730 divided by 78 is 9 with a remainder of 28.
The next digit of our result is 9. 
Result so far: 11049.9
If we take 702 away from 730, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 8:
280 divided by 78 is 3 with a remainder of 46.
The number 3 becomes the next digit in our result. 
Result so far: 11049.93
If we subtract 234 from 280, we get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

On to step 9:
78 can be fit into 460 5 times, resulting in a remainder of 70.
The number 5 becomes the next digit in our result. 
Result so far: 11049.935
Subtract 390 from 460 to get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Let's proceed to step 10:
The number 78 fits into 700 8 times, leaving a remainder of 76.
Use 8 as the next digit of our solution. 
Result so far: 11049.9358
Deduct 624 from 700 and we're left with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Moving on to step 11:
78 can be fit into 760 9 times, resulting in a remainder of 58.
The next digit of our result is 9. 
Result so far: 11049.93589
If we take 702 away from 760, we end up with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Let's proceed to step 12:
The number 78 fits into 580 7 times, leaving a remainder of 34.
Record the quotient 7 as the next digit in the result. 
Result so far: 11049.935897
Deduct 546 from 580 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 13:
340 divided by 78 is 4 with a remainder of 28.
The number 4 becomes the next digit in our result. 
Result so far: 11049.9358974
Deduct 312 from 340 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 14:
If we divide 280 by 78, we get 3 and a remainder of 46.
Record the quotient 3 as the next digit in the result. 
Result so far: 11049.93589743
The remainder is 46 after subtracting 234 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

After the division, we end up with 11049.93589743 and a remainder of 4.6e-08.