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

On to step 1:
6 divided by 78 is 0 with a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Take the next digit (6) from the dividend and append it to 6, then repeat: 66 / 78

Going ahead to step 2:
66 divided by 78 is 0 with a remainder of 66.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 66, we get 66.
Include the next digit (4) from the dividend after 66, then repeat: 664 / 78

Advancing to step 3:
664 divided by 78 is 8 with a remainder of 40.
Use 8 as the next digit of our solution. 
Result so far: 8.0
The remainder is 40 after subtracting 624 from 664.
Fetch the next digit (4) from the dividend, attach it to 40 and continue: 404 / 78

Going ahead to step 4:
When dividing 404 by 78, we get 5 with a remainder of 14.
The next digit of our result is 5. 
Result so far: 85.0
If we subtract 390 from 404, we get 14.
Include the next digit (1) from the dividend after 14, then repeat: 141 / 78

On to step 5:
78 goes into 141 1 times with a remainder of 63.
The next digit of our result is 1. 
Result so far: 851.0
The remainder is 63 after subtracting 78 from 141.
Include the next digit (1) from the dividend after 63, then repeat: 631 / 78

Let's proceed to step 6:
If we divide 631 by 78, we get 8 and a remainder of 7.
Put 8 as the next digit of the answer. 
Result so far: 8518.0
Deduct 624 from 631 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 7:
78 can be fit into 70 0 times, resulting in a remainder of 70.
The next digit of our result is 0. 
Result so far: 8518.0
If we take 0 away from 70, we end up with 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 8:
78 goes into 700 8 times with a remainder of 76.
Record the quotient 8 as the next digit in the result. 
Result so far: 8518.08
Subtracting 624 from 700 leaves us 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.

Step 9:
78 can be fit into 760 9 times, resulting in a remainder of 58.
The number 9 becomes the next digit in our result. 
Result so far: 8518.089
Subtracting 702 from 760 leaves us 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.

Advancing to step 10:
The number 78 fits into 580 7 times, leaving a remainder of 34.
Put 7 as the next digit of the answer. 
Result so far: 8518.0897
Subtracting 546 from 580 leaves us 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.

Step 11:
78 can be fit into 340 4 times, resulting in a remainder of 28.
The next digit of our result is 4. 
Result so far: 8518.08974
Subtracting 312 from 340 leaves us 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.

Going ahead to step 12:
280 divided by 78 is 3 with a remainder of 46.
Record the quotient 3 as the next digit in the result. 
Result so far: 8518.089743
Subtract 234 from 280 to 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.

Moving on to step 13:
460 divided by 78 is 5 with a remainder of 70.
Write down 5 as next digit of the result. 
Result so far: 8518.0897435
Deduct 390 from 460 and we're left with 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 14:
When dividing 700 by 78, we get 8 with a remainder of 76.
Put 8 as the next digit of the answer. 
Result so far: 8518.08974358
The remainder is 76 after subtracting 624 from 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

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