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

On to step 1:
97 goes into 7 0 times with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Grab the next digit (6) from the dividend, add it to 7, then carry on: 76 / 97

Step 2:
97 can be fit into 76 0 times, resulting in a remainder of 76.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 76 to get 76.
Bring next digit (4) of the dividend behind the 76 and repeat the process: 764 / 97

On to step 3:
The number 97 fits into 764 7 times, leaving a remainder of 85.
Put 7 as the next digit of the answer. 
Result so far: 7.0
The remainder is 85 after subtracting 679 from 764.
Include the next digit (3) from the dividend after 85, then repeat: 853 / 97

Going ahead to step 4:
97 goes into 853 8 times with a remainder of 77.
The number 8 becomes the next digit in our result. 
Result so far: 78.0
The remainder is 77 after subtracting 776 from 853.
Include the next digit (8) from the dividend after 77, then repeat: 778 / 97

Going ahead to step 5:
97 can be fit into 778 8 times, resulting in a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 788.0
Subtracting 776 from 778 leaves us with 2.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 97

Let's proceed to step 6:
97 goes into 29 0 times with a remainder of 29.
Put 0 as the next digit of the answer. 
Result so far: 7880.0
Deduct 0 from 29 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 7:
If we divide 290 by 97, we get 2 and a remainder of 96.
The number 2 becomes the next digit in our result. 
Result so far: 7880.2
Subtracting 194 from 290 leaves us with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

On to step 8:
If we divide 960 by 97, we get 9 and a remainder of 87.
Write down 9 as next digit of the result. 
Result so far: 7880.29
Subtracting 873 from 960 leaves us with 87.
Since there are no more digits in the dividend, we add a zero to the remainder making it 870, and continue the process.

Let's proceed to step 9:
870 divided by 97 is 8 with a remainder of 94.
Record the quotient 8 as the next digit in the result. 
Result so far: 7880.298
Deduct 776 from 870 and we're left with 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

Advancing to step 10:
If we divide 940 by 97, we get 9 and a remainder of 67.
Write down 9 as next digit of the result. 
Result so far: 7880.2989
Subtracting 873 from 940 leaves us with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Let's proceed to step 11:
97 can be fit into 670 6 times, resulting in a remainder of 88.
Write down 6 as next digit of the result. 
Result so far: 7880.29896
Deduct 582 from 670 and we're left with 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Moving on to step 12:
When dividing 880 by 97, we get 9 with a remainder of 7.
Put 9 as the next digit of the answer. 
Result so far: 7880.298969
If we take 873 away from 880, we end up 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.

Advancing to step 13:
If we divide 70 by 97, we get 0 and a remainder of 70.
Use 0 as the next digit of our solution. 
Result so far: 7880.298969
Subtract 0 from 70 to 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.

Advancing to step 14:
700 divided by 97 is 7 with a remainder of 21.
The next digit of our result is 7. 
Result so far: 7880.29896907
Subtract 679 from 700 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

The final outcome is 7880.29896907, with a leftover of 2.1e-08.