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

Step 1:
If we divide 9 by 31, we get 0 and a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Append the next digit (2) from the dividend to 9 and continue with: 92 / 31

Going ahead to step 2:
92 divided by 31 is 2 with a remainder of 30.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 62 from 92 leaves us with 30.
Append the next digit (9) from the dividend to 30 and continue with: 309 / 31

Let's proceed to step 3:
309 divided by 31 is 9 with a remainder of 30.
The number 9 becomes the next digit in our result. 
Result so far: 29.0
Subtract 279 from 309 to get 30.
Append the next digit (2) from the dividend to 30 and continue with: 302 / 31

Moving on to step 4:
31 can be fit into 302 9 times, resulting in a remainder of 23.
The number 9 becomes the next digit in our result. 
Result so far: 299.0
The remainder is 23 after subtracting 279 from 302.
Include the next digit (1) from the dividend after 23, then repeat: 231 / 31

Moving on to step 5:
31 can be fit into 231 7 times, resulting in a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 2997.0
If we take 217 away from 231, we end up with 14.
Include the next digit (8) from the dividend after 14, then repeat: 148 / 31

Step 6:
31 can be fit into 148 4 times, resulting in a remainder of 24.
The next digit of our result is 4. 
Result so far: 29974.0
The remainder is 24 after subtracting 124 from 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 7:
31 goes into 240 7 times with a remainder of 23.
The next digit of our result is 7. 
Result so far: 29974.7
If we subtract 217 from 240, we 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.

Moving on to step 8:
31 goes into 230 7 times with a remainder of 13.
The next digit of our result is 7. 
Result so far: 29974.77
Deduct 217 from 230 and we're left with 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 result is 29974.77 with a remainder of 0.013.