We're dividing 366217 by 97 
The aim is to understand the frequency of 97 in 366217.

Going ahead to step 1:
The number 97 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 97

Going ahead to step 2:
36 divided by 97 is 0 with a remainder of 36.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 36 leaves us with 36.
Bring next digit (6) of the dividend behind the 36 and repeat the process: 366 / 97

Going ahead to step 3:
97 can be fit into 366 3 times, resulting in a remainder of 75.
Write down 3 as next digit of the result. 
Result so far: 3.0
The remainder is 75 after subtracting 291 from 366.
Grab the next digit (2) from the dividend, add it to 75, then carry on: 752 / 97

Step 4:
752 divided by 97 is 7 with a remainder of 73.
The number 7 becomes the next digit in our result. 
Result so far: 37.0
The remainder is 73 after subtracting 679 from 752.
Fetch the next digit (1) from the dividend, attach it to 73 and continue: 731 / 97

Let's proceed to step 5:
731 divided by 97 is 7 with a remainder of 52.
The number 7 becomes the next digit in our result. 
Result so far: 377.0
Deduct 679 from 731 and we're left with 52.
Fetch the next digit (7) from the dividend, attach it to 52 and continue: 527 / 97

Step 6:
97 can be fit into 527 5 times, resulting in a remainder of 42.
Use 5 as the next digit of our solution. 
Result so far: 3775.0
Deduct 485 from 527 and we're left 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 7:
If we divide 420 by 97, we get 4 and a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 3775.4
Subtract 388 from 420 to 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.

On to step 8:
When dividing 320 by 97, we get 3 with a remainder of 29.
The number 3 becomes the next digit in our result. 
Result so far: 3775.43
Subtracting 291 from 320 leaves us 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.

Advancing to step 9:
When dividing 290 by 97, we get 2 with a remainder of 96.
Write down 2 as next digit of the result. 
Result so far: 3775.432
The remainder is 96 after subtracting 194 from 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Moving on to step 10:
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: 3775.4329
If we subtract 873 from 960, we get 87.
Since there are no more digits in the dividend, we add a zero to the remainder making it 870, and continue the process.

On to step 11:
If we divide 870 by 97, we get 8 and a remainder of 94.
Use 8 as the next digit of our solution. 
Result so far: 3775.43298
Subtracting 776 from 870 leaves us 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.

Going ahead to step 12:
The number 97 fits into 940 9 times, leaving a remainder of 67.
The next digit of our result is 9. 
Result so far: 3775.432989
Deduct 873 from 940 and we're left 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.

Advancing to step 13:
97 goes into 670 6 times with a remainder of 88.
Use 6 as the next digit of our solution. 
Result so far: 3775.4329896
If we subtract 582 from 670, we get 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Step 14:
97 goes into 880 9 times with a remainder of 7.
Record the quotient 9 as the next digit in the result. 
Result so far: 3775.43298969
The remainder is 7 after subtracting 873 from 880.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

After the division, we end up with 3775.43298969 and a remainder of 7e-09.