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

Going ahead to step 1:
The number 97 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (2) from the dividend, attach it to 4 and continue: 42 / 97

On to step 2:
If we divide 42 by 97, we get 0 and a remainder of 42.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 42 leaves us with 42.
Fetch the next digit (2) from the dividend, attach it to 42 and continue: 422 / 97

Let's proceed to step 3:
97 can be fit into 422 4 times, resulting in a remainder of 34.
The next digit of our result is 4. 
Result so far: 4.0
Subtracting 388 from 422 leaves us with 34.
Include the next digit (2) from the dividend after 34, then repeat: 342 / 97

On to step 4:
97 goes into 342 3 times with a remainder of 51.
Write down 3 as next digit of the result. 
Result so far: 43.0
Subtract 291 from 342 to get 51.
Append the next digit (2) from the dividend to 51 and continue with: 512 / 97

Moving on to step 5:
If we divide 512 by 97, we get 5 and a remainder of 27.
Record the quotient 5 as the next digit in the result. 
Result so far: 435.0
Subtracting 485 from 512 leaves us with 27.
Append the next digit (1) from the dividend to 27 and continue with: 271 / 97

Step 6:
If we divide 271 by 97, we get 2 and a remainder of 77.
Record the quotient 2 as the next digit in the result. 
Result so far: 4352.0
Deduct 194 from 271 and we're left with 77.
Since there are no more digits in the dividend, we add a zero to the remainder making it 770, and continue the process.

Step 7:
When dividing 770 by 97, we get 7 with a remainder of 91.
Write down 7 as next digit of the result. 
Result so far: 4352.7
Subtract 679 from 770 to 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.

Step 8:
When dividing 910 by 97, we get 9 with a remainder of 37.
Record the quotient 9 as the next digit in the result. 
Result so far: 4352.79
If we take 873 away from 910, we end up with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Advancing to step 9:
When dividing 370 by 97, we get 3 with a remainder of 79.
Write down 3 as next digit of the result. 
Result so far: 4352.793
Deduct 291 from 370 and we're left 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.

Advancing to step 10:
97 can be fit into 790 8 times, resulting in a remainder of 14.
Write down 8 as next digit of the result. 
Result so far: 4352.7938
Subtract 776 from 790 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 11:
97 can be fit into 140 1 times, resulting in a remainder of 43.
Write down 1 as next digit of the result. 
Result so far: 4352.79381
Subtract 97 from 140 to get 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Advancing to step 12:
430 divided by 97 is 4 with a remainder of 42.
The number 4 becomes the next digit in our result. 
Result so far: 4352.793814
Subtracting 388 from 430 leaves us 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.

Moving on to step 13:
When dividing 420 by 97, we get 4 with a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 4352.7938144
If we subtract 388 from 420, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

The final outcome is 4352.7938144, with a leftover of 3.2e-07.