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

Advancing to step 1:
The number 78 fits into 9 0 times, leaving a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 78

On to step 2:
The number 78 fits into 98 1 times, leaving a remainder of 20.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 78 away from 98, we end up with 20.
Grab the next digit (9) from the dividend, add it to 20, then carry on: 209 / 78

Advancing to step 3:
If we divide 209 by 78, we get 2 and a remainder of 53.
Put 2 as the next digit of the answer. 
Result so far: 12.0
If we take 156 away from 209, we end up with 53.
Grab the next digit (3) from the dividend, add it to 53, then carry on: 533 / 78

Going ahead to step 4:
78 can be fit into 533 6 times, resulting in a remainder of 65.
Write down 6 as next digit of the result. 
Result so far: 126.0
Deduct 468 from 533 and we're left with 65.
Grab the next digit (4) from the dividend, add it to 65, then carry on: 654 / 78

Let's proceed to step 5:
78 goes into 654 8 times with a remainder of 30.
Write down 8 as next digit of the result. 
Result so far: 1268.0
Subtract 624 from 654 to get 30.
Take the next digit (1) from the dividend and append it to 30, then repeat: 301 / 78

Moving on to step 6:
78 goes into 301 3 times with a remainder of 67.
Record the quotient 3 as the next digit in the result. 
Result so far: 12683.0
The remainder is 67 after subtracting 234 from 301.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Moving on to step 7:
The number 78 fits into 670 8 times, leaving a remainder of 46.
The number 8 becomes the next digit in our result. 
Result so far: 12683.8
Deduct 624 from 670 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Advancing to step 8:
When dividing 460 by 78, we get 5 with a remainder of 70.
Put 5 as the next digit of the answer. 
Result so far: 12683.85
If we subtract 390 from 460, we 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.

Step 9:
700 divided by 78 is 8 with a remainder of 76.
The next digit of our result is 8. 
Result so far: 12683.858
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.

On to step 10:
760 divided by 78 is 9 with a remainder of 58.
Record the quotient 9 as the next digit in the result. 
Result so far: 12683.8589
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.

Step 11:
The number 78 fits into 580 7 times, leaving a remainder of 34.
Use 7 as the next digit of our solution. 
Result so far: 12683.85897
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.

Advancing to step 12:
78 can be fit into 340 4 times, resulting in a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 12683.858974
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.

Going ahead to step 13:
78 can be fit into 280 3 times, resulting in a remainder of 46.
The number 3 becomes the next digit in our result. 
Result so far: 12683.8589743
Deduct 234 from 280 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Going ahead to step 14:
The number 78 fits into 460 5 times, leaving a remainder of 70.
Write down 5 as next digit of the result. 
Result so far: 12683.85897435
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.

The quotient of the division is 12683.85897435, and the remainder is 7e-08.