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

Let's proceed to step 1:
78 goes into 9 0 times with a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Take the next digit (9) from the dividend and append it to 9, then repeat: 99 / 78

Going ahead to step 2:
78 can be fit into 99 1 times, resulting in a remainder of 21.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 78 from 99 to get 21.
Fetch the next digit (8) from the dividend, attach it to 21 and continue: 218 / 78

Going ahead to step 3:
218 divided by 78 is 2 with a remainder of 62.
Write down 2 as next digit of the result. 
Result so far: 12.0
Subtract 156 from 218 to get 62.
Append the next digit (2) from the dividend to 62 and continue with: 622 / 78

Advancing to step 4:
When dividing 622 by 78, we get 7 with a remainder of 76.
Write down 7 as next digit of the result. 
Result so far: 127.0
The remainder is 76 after subtracting 546 from 622.
Bring next digit (2) of the dividend behind the 76 and repeat the process: 762 / 78

Moving on to step 5:
If we divide 762 by 78, we get 9 and a remainder of 60.
Use 9 as the next digit of our solution. 
Result so far: 1279.0
Subtracting 702 from 762 leaves us with 60.
Bring next digit (3) of the dividend behind the 60 and repeat the process: 603 / 78

Step 6:
If we divide 603 by 78, we get 7 and a remainder of 57.
Write down 7 as next digit of the result. 
Result so far: 12797.0
The remainder is 57 after subtracting 546 from 603.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Advancing to step 7:
If we divide 570 by 78, we get 7 and a remainder of 24.
Write down 7 as next digit of the result. 
Result so far: 12797.7
Subtract 546 from 570 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.

Moving on to step 8:
78 goes into 240 3 times with a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 12797.73
Subtracting 234 from 240 leaves us 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.

Let's proceed to step 9:
When dividing 60 by 78, we get 0 with a remainder of 60.
Use 0 as the next digit of our solution. 
Result so far: 12797.73
Subtracting 0 from 60 leaves us with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Moving on to step 10:
78 can be fit into 600 7 times, resulting in a remainder of 54.
The next digit of our result is 7. 
Result so far: 12797.7307
If we take 546 away from 600, we end up with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Let's proceed to step 11:
78 goes into 540 6 times with a remainder of 72.
Write down 6 as next digit of the result. 
Result so far: 12797.73076
Subtracting 468 from 540 leaves us with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

On to step 12:
78 can be fit into 720 9 times, resulting in a remainder of 18.
Write down 9 as next digit of the result. 
Result so far: 12797.730769
Subtract 702 from 720 to 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 13:
The number 78 fits into 180 2 times, leaving a remainder of 24.
Use 2 as the next digit of our solution. 
Result so far: 12797.7307692
If we take 156 away from 180, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 14:
When dividing 240 by 78, we get 3 with a remainder of 6.
The next digit of our result is 3. 
Result so far: 12797.73076923
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.

Our division results in 12797.73076923 with a remaining 6e-09.