We look at the division of 788391 by 97 
The aim is to understand the frequency of 97 in 788391.

Going ahead to step 1:
The number 97 fits into 7 0 times, leaving a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 97

On to step 2:
If we divide 78 by 97, we get 0 and a remainder of 78.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 78, we get 78.
Bring next digit (8) of the dividend behind the 78 and repeat the process: 788 / 97

On to step 3:
97 can be fit into 788 8 times, resulting in a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Subtract 776 from 788 to get 12.
Bring next digit (3) of the dividend behind the 12 and repeat the process: 123 / 97

Step 4:
The number 97 fits into 123 1 times, leaving a remainder of 26.
Write down 1 as next digit of the result. 
Result so far: 81.0
Deduct 97 from 123 and we're left with 26.
Take the next digit (9) from the dividend and append it to 26, then repeat: 269 / 97

Let's proceed to step 5:
The number 97 fits into 269 2 times, leaving a remainder of 75.
The number 2 becomes the next digit in our result. 
Result so far: 812.0
Deduct 194 from 269 and we're left with 75.
Fetch the next digit (1) from the dividend, attach it to 75 and continue: 751 / 97

On to step 6:
97 can be fit into 751 7 times, resulting in a remainder of 72.
The next digit of our result is 7. 
Result so far: 8127.0
If we subtract 679 from 751, we get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Going ahead to step 7:
When dividing 720 by 97, we get 7 with a remainder of 41.
The next digit of our result is 7. 
Result so far: 8127.7
Deduct 679 from 720 and we're left with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Step 8:
If we divide 410 by 97, we get 4 and a remainder of 22.
Use 4 as the next digit of our solution. 
Result so far: 8127.74
If we subtract 388 from 410, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 9:
97 goes into 220 2 times with a remainder of 26.
Use 2 as the next digit of our solution. 
Result so far: 8127.742
The remainder is 26 after subtracting 194 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 10:
When dividing 260 by 97, we get 2 with a remainder of 66.
Put 2 as the next digit of the answer. 
Result so far: 8127.7422
Subtracting 194 from 260 leaves us with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

After the division, we end up with 8127.7422 and a remainder of 0.00066.