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

Step 1:
If we divide 5 by 97, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 97

Step 2:
When dividing 58 by 97, we get 0 with a remainder of 58.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 58, we end up with 58.
Grab the next digit (1) from the dividend, add it to 58, then carry on: 581 / 97

Step 3:
97 can be fit into 581 5 times, resulting in a remainder of 96.
The next digit of our result is 5. 
Result so far: 5.0
If we subtract 485 from 581, we get 96.
Fetch the next digit (6) from the dividend, attach it to 96 and continue: 966 / 97

Going ahead to step 4:
The number 97 fits into 966 9 times, leaving a remainder of 93.
The next digit of our result is 9. 
Result so far: 59.0
Subtract 873 from 966 to get 93.
Grab the next digit (9) from the dividend, add it to 93, then carry on: 939 / 97

Step 5:
97 can be fit into 939 9 times, resulting in a remainder of 66.
Write down 9 as next digit of the result. 
Result so far: 599.0
If we take 873 away from 939, we end up with 66.
Bring next digit (8) of the dividend behind the 66 and repeat the process: 668 / 97

Step 6:
The number 97 fits into 668 6 times, leaving a remainder of 86.
Write down 6 as next digit of the result. 
Result so far: 5996.0
Subtracting 582 from 668 leaves us with 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Let's proceed to step 7:
If we divide 860 by 97, we get 8 and a remainder of 84.
The next digit of our result is 8. 
Result so far: 5996.8
The remainder is 84 after subtracting 776 from 860.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Going ahead to step 8:
97 can be fit into 840 8 times, resulting in a remainder of 64.
Record the quotient 8 as the next digit in the result. 
Result so far: 5996.88
If we take 776 away from 840, we end up with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

The quotient of the division is 5996.88, and the remainder is 0.064.