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

Advancing to step 1:
78 goes into 2 0 times with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 78

Step 2:
78 goes into 22 0 times with a remainder of 22.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 22 and we're left with 22.
Include the next digit (2) from the dividend after 22, then repeat: 222 / 78

Step 3:
If we divide 222 by 78, we get 2 and a remainder of 66.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 156 from 222 leaves us with 66.
Fetch the next digit (6) from the dividend, attach it to 66 and continue: 666 / 78

Step 4:
666 divided by 78 is 8 with a remainder of 42.
The number 8 becomes the next digit in our result. 
Result so far: 28.0
Deduct 624 from 666 and we're left with 42.
Grab the next digit (7) from the dividend, add it to 42, then carry on: 427 / 78

Step 5:
The number 78 fits into 427 5 times, leaving a remainder of 37.
The number 5 becomes the next digit in our result. 
Result so far: 285.0
Subtract 390 from 427 to get 37.
Include the next digit (4) from the dividend after 37, then repeat: 374 / 78

Going ahead to step 6:
The number 78 fits into 374 4 times, leaving a remainder of 62.
The number 4 becomes the next digit in our result. 
Result so far: 2854.0
Subtracting 312 from 374 leaves us with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

On to step 7:
78 goes into 620 7 times with a remainder of 74.
Put 7 as the next digit of the answer. 
Result so far: 2854.7
The remainder is 74 after subtracting 546 from 620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Moving on to step 8:
The number 78 fits into 740 9 times, leaving a remainder of 38.
The next digit of our result is 9. 
Result so far: 2854.79
If we subtract 702 from 740, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 9:
If we divide 380 by 78, we get 4 and a remainder of 68.
Use 4 as the next digit of our solution. 
Result so far: 2854.794
If we take 312 away from 380, we end up with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Moving on to step 10:
680 divided by 78 is 8 with a remainder of 56.
Use 8 as the next digit of our solution. 
Result so far: 2854.7948
Subtract 624 from 680 to get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Going ahead to step 11:
When dividing 560 by 78, we get 7 with a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 2854.79487
Subtract 546 from 560 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.

Step 12:
If we divide 140 by 78, we get 1 and a remainder of 62.
Write down 1 as next digit of the result. 
Result so far: 2854.794871
Subtracting 78 from 140 leaves us with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Step 13:
620 divided by 78 is 7 with a remainder of 74.
Use 7 as the next digit of our solution. 
Result so far: 2854.7948717
If we take 546 away from 620, we end up with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Let's proceed to step 14:
78 goes into 740 9 times with a remainder of 38.
The number 9 becomes the next digit in our result. 
Result so far: 2854.79487179
If we take 702 away from 740, 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.

Our division results in 2854.79487179 with a remaining 3.8e-08.