We look at the division of 195197 by 31 
The aim is to understand the frequency of 31 in 195197.

Going ahead to step 1:
When dividing 1 by 31, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (9) from the dividend to 1 and continue with: 19 / 31

Going ahead to step 2:
When dividing 19 by 31, we get 0 with a remainder of 19.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 19, we get 19.
Grab the next digit (5) from the dividend, add it to 19, then carry on: 195 / 31

Let's proceed to step 3:
31 can be fit into 195 6 times, resulting in a remainder of 9.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
If we take 186 away from 195, we end up with 9.
Append the next digit (1) from the dividend to 9 and continue with: 91 / 31

Moving on to step 4:
31 can be fit into 91 2 times, resulting in a remainder of 29.
The number 2 becomes the next digit in our result. 
Result so far: 62.0
Subtracting 62 from 91 leaves us with 29.
Take the next digit (9) from the dividend and append it to 29, then repeat: 299 / 31

On to step 5:
31 goes into 299 9 times with a remainder of 20.
Write down 9 as next digit of the result. 
Result so far: 629.0
If we subtract 279 from 299, we get 20.
Append the next digit (7) from the dividend to 20 and continue with: 207 / 31

Going ahead to step 6:
31 can be fit into 207 6 times, resulting in a remainder of 21.
Put 6 as the next digit of the answer. 
Result so far: 6296.0
Subtract 186 from 207 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 7:
If we divide 210 by 31, we get 6 and a remainder of 24.
The next digit of our result is 6. 
Result so far: 6296.6
If we subtract 186 from 210, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 8:
31 can be fit into 240 7 times, resulting in a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 6296.67
Subtract 217 from 240 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 9:
31 can be fit into 230 7 times, resulting in a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 6296.677
The remainder is 13 after subtracting 217 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

In conclusion, the division gives 6296.677 with a balance of 0.0013.