We look at the division of 97165595 by 667 
The aim is to understand the frequency of 667 in 97165595.

On to step 1:
667 can be fit into 9 0 times, resulting in a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Fetch the next digit (7) from the dividend, attach it to 9 and continue: 97 / 667

Let's proceed to step 2:
The number 667 fits into 97 0 times, leaving a remainder of 97.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 97, we get 97.
Include the next digit (1) from the dividend after 97, then repeat: 971 / 667

Going ahead to step 3:
667 goes into 971 1 times with a remainder of 304.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 667 away from 971, we end up with 304.
Take the next digit (6) from the dividend and append it to 304, then repeat: 3046 / 667

Let's proceed to step 4:
When dividing 3046 by 667, we get 4 with a remainder of 378.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
If we take 2668 away from 3046, we end up with 378.
Append the next digit (5) from the dividend to 378 and continue with: 3785 / 667

Let's proceed to step 5:
When dividing 3785 by 667, we get 5 with a remainder of 450.
The number 5 becomes the next digit in our result. 
Result so far: 145.0
Subtracting 3335 from 3785 leaves us with 450.
Fetch the next digit (5) from the dividend, attach it to 450 and continue: 4505 / 667

Going ahead to step 6:
When dividing 4505 by 667, we get 6 with a remainder of 503.
The number 6 becomes the next digit in our result. 
Result so far: 1456.0
If we take 4002 away from 4505, we end up with 503.
Include the next digit (9) from the dividend after 503, then repeat: 5039 / 667

On to step 7:
667 can be fit into 5039 7 times, resulting in a remainder of 370.
Put 7 as the next digit of the answer. 
Result so far: 14567.0
If we take 4669 away from 5039, we end up with 370.
Append the next digit (5) from the dividend to 370 and continue with: 3705 / 667

Moving on to step 8:
3705 divided by 667 is 5 with a remainder of 370.
Write down 5 as next digit of the result. 
Result so far: 145675.0
Deduct 3335 from 3705 and we're left with 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3700, and continue the process.

Let's proceed to step 9:
When dividing 3700 by 667, we get 5 with a remainder of 365.
Use 5 as the next digit of our solution. 
Result so far: 145675.5
The remainder is 365 after subtracting 3335 from 3700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3650, and continue the process.

Let's proceed to step 10:
667 can be fit into 3650 5 times, resulting in a remainder of 315.
The next digit of our result is 5. 
Result so far: 145675.55
Deduct 3335 from 3650 and we're left with 315.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3150, and continue the process.

The final outcome is 145675.55, with a leftover of 0.315.