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

Going ahead to step 1:
8 divided by 97 is 0 with a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Bring next digit (3) of the dividend behind the 8 and repeat the process: 83 / 97

Step 2:
97 goes into 83 0 times with a remainder of 83.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 83, we get 83.
Fetch the next digit (9) from the dividend, attach it to 83 and continue: 839 / 97

Going ahead to step 3:
97 can be fit into 839 8 times, resulting in a remainder of 63.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Subtracting 776 from 839 leaves us with 63.
Fetch the next digit (7) from the dividend, attach it to 63 and continue: 637 / 97

Moving on to step 4:
When dividing 637 by 97, we get 6 with a remainder of 55.
Use 6 as the next digit of our solution. 
Result so far: 86.0
Deduct 582 from 637 and we're left with 55.
Append the next digit (8) from the dividend to 55 and continue with: 558 / 97

Moving on to step 5:
If we divide 558 by 97, we get 5 and a remainder of 73.
The next digit of our result is 5. 
Result so far: 865.0
The remainder is 73 after subtracting 485 from 558.
Take the next digit (7) from the dividend and append it to 73, then repeat: 737 / 97

Advancing to step 6:
The number 97 fits into 737 7 times, leaving a remainder of 58.
The number 7 becomes the next digit in our result. 
Result so far: 8657.0
The remainder is 58 after subtracting 679 from 737.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Let's proceed to step 7:
When dividing 580 by 97, we get 5 with a remainder of 95.
Record the quotient 5 as the next digit in the result. 
Result so far: 8657.5
If we take 485 away from 580, we end up with 95.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

Advancing to step 8:
The number 97 fits into 950 9 times, leaving a remainder of 77.
Use 9 as the next digit of our solution. 
Result so far: 8657.59
The remainder is 77 after subtracting 873 from 950.
Since there are no more digits in the dividend, we add a zero to the remainder making it 770, and continue the process.

Advancing to step 9:
770 divided by 97 is 7 with a remainder of 91.
Use 7 as the next digit of our solution. 
Result so far: 8657.597
If we subtract 679 from 770, we get 91.
Since there are no more digits in the dividend, we add a zero to the remainder making it 910, and continue the process.

On to step 10:
97 goes into 910 9 times with a remainder of 37.
Write down 9 as next digit of the result. 
Result so far: 8657.5979
If we subtract 873 from 910, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Let's proceed to step 11:
97 can be fit into 370 3 times, resulting in a remainder of 79.
Use 3 as the next digit of our solution. 
Result so far: 8657.59793
Subtracting 291 from 370 leaves us with 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

Moving on to step 12:
The number 97 fits into 790 8 times, leaving a remainder of 14.
Write down 8 as next digit of the result. 
Result so far: 8657.597938
Deduct 776 from 790 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 13:
When dividing 140 by 97, we get 1 with a remainder of 43.
Write down 1 as next digit of the result. 
Result so far: 8657.5979381
If we take 97 away from 140, we end up with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Step 14:
If we divide 430 by 97, we get 4 and a remainder of 42.
Write down 4 as next digit of the result. 
Result so far: 8657.59793814
If we take 388 away from 430, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

The final result is 8657.59793814 with a remainder of 4.2e-08.