We divide 197070 by 31
The aim is to understand the frequency of 31 in 197070.

On to step 1:
If we divide 1 by 31, we get 0 and a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 31

Moving on to step 2:
The number 31 fits into 19 0 times, leaving a remainder of 19.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 19 leaves us with 19.
Append the next digit (7) from the dividend to 19 and continue with: 197 / 31

Step 3:
31 can be fit into 197 6 times, resulting in a remainder of 11.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
If we subtract 186 from 197, we get 11.
Include the next digit (0) from the dividend after 11, then repeat: 110 / 31

On to step 4:
If we divide 110 by 31, we get 3 and a remainder of 17.
Use 3 as the next digit of our solution. 
Result so far: 63.0
Deduct 93 from 110 and we're left with 17.
Grab the next digit (7) from the dividend, add it to 17, then carry on: 177 / 31

On to step 5:
31 can be fit into 177 5 times, resulting in a remainder of 22.
Record the quotient 5 as the next digit in the result. 
Result so far: 635.0
If we take 155 away from 177, we end up with 22.
Include the next digit (0) from the dividend after 22, then repeat: 220 / 31

Let's proceed to step 6:
The number 31 fits into 220 7 times, leaving a remainder of 3.
The next digit of our result is 7. 
Result so far: 6357.0
If we take 217 away from 220, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
31 can be fit into 30 0 times, resulting in a remainder of 30.
The next digit of our result is 0. 
Result so far: 6357.0
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 8:
The number 31 fits into 300 9 times, leaving a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 6357.09
If we subtract 279 from 300, we 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.

Moving on to step 9:
If we divide 210 by 31, we get 6 and a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 6357.096
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.

Step 10:
240 divided by 31 is 7 with a remainder of 23.
Write down 7 as next digit of the result. 
Result so far: 6357.0967
If we take 217 away from 240, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Step 11:
The number 31 fits into 230 7 times, leaving a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 6357.09677
Subtract 217 from 230 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The final outcome is 6357.09677, with a leftover of 1.3e-05.