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

Going ahead to step 1:
97 goes into 2 0 times with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 97

Going ahead to step 2:
If we divide 29 by 97, we get 0 and a remainder of 29.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 29 after subtracting 0 from 29.
Append the next digit (1) from the dividend to 29 and continue with: 291 / 97

Step 3:
The number 97 fits into 291 3 times, leaving a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we subtract 291 from 291, we get 0.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 97

Moving on to step 4:
When dividing 7 by 97, we get 0 with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 30.0
If we subtract 0 from 7, we get 7.
Append the next digit (8) from the dividend to 7 and continue with: 78 / 97

Let's proceed to step 5:
When dividing 78 by 97, we get 0 with a remainder of 78.
The next digit of our result is 0. 
Result so far: 300.0
Subtracting 0 from 78 leaves us with 78.
Grab the next digit (1) from the dividend, add it to 78, then carry on: 781 / 97

Let's proceed to step 6:
If we divide 781 by 97, we get 8 and a remainder of 5.
The next digit of our result is 8. 
Result so far: 3008.0
Subtracting 776 from 781 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

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

Advancing to step 8:
The number 97 fits into 500 5 times, leaving a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 3008.05
If we take 485 away from 500, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 9:
When dividing 150 by 97, we get 1 with a remainder of 53.
The next digit of our result is 1. 
Result so far: 3008.051
Subtract 97 from 150 to get 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Let's proceed to step 10:
530 divided by 97 is 5 with a remainder of 45.
The number 5 becomes the next digit in our result. 
Result so far: 3008.0515
Subtracting 485 from 530 leaves us with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

On to step 11:
The number 97 fits into 450 4 times, leaving a remainder of 62.
Put 4 as the next digit of the answer. 
Result so far: 3008.05154
Subtract 388 from 450 to get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Moving on to step 12:
620 divided by 97 is 6 with a remainder of 38.
The number 6 becomes the next digit in our result. 
Result so far: 3008.051546
If we take 582 away from 620, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 13:
380 divided by 97 is 3 with a remainder of 89.
Write down 3 as next digit of the result. 
Result so far: 3008.0515463
Subtract 291 from 380 to get 89.
Since there are no more digits in the dividend, we add a zero to the remainder making it 890, and continue the process.

On to step 14:
If we divide 890 by 97, we get 9 and a remainder of 17.
Use 9 as the next digit of our solution. 
Result so far: 3008.05154639
Deduct 873 from 890 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Our division results in 3008.05154639 with a remaining 1.7e-08.