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

Step 1:
31 goes into 1 0 times with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 31

Going ahead to step 2:
If we divide 16 by 31, we get 0 and a remainder of 16.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 16, we end up with 16.
Fetch the next digit (7) from the dividend, attach it to 16 and continue: 167 / 31

Moving on to step 3:
31 goes into 167 5 times with a remainder of 12.
Write down 5 as next digit of the result. 
Result so far: 5.0
Deduct 155 from 167 and we're left with 12.
Append the next digit (1) from the dividend to 12 and continue with: 121 / 31

Going ahead to step 4:
If we divide 121 by 31, we get 3 and a remainder of 28.
The next digit of our result is 3. 
Result so far: 53.0
Subtract 93 from 121 to get 28.
Take the next digit (6) from the dividend and append it to 28, then repeat: 286 / 31

On to step 5:
If we divide 286 by 31, we get 9 and a remainder of 7.
Use 9 as the next digit of our solution. 
Result so far: 539.0
If we take 279 away from 286, we end up with 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 31

Advancing to step 6:
31 can be fit into 79 2 times, resulting in a remainder of 17.
The next digit of our result is 2. 
Result so far: 5392.0
If we take 62 away from 79, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 7:
If we divide 170 by 31, we get 5 and a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 5392.5
The remainder is 15 after subtracting 155 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 8:
The number 31 fits into 150 4 times, leaving a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 5392.54
If we subtract 124 from 150, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 9:
The number 31 fits into 260 8 times, leaving a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 5392.548
If we subtract 248 from 260, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 10:
If we divide 120 by 31, we get 3 and a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 5392.5483
If we take 93 away from 120, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 11:
270 divided by 31 is 8 with a remainder of 22.
Write down 8 as next digit of the result. 
Result so far: 5392.54838
If we take 248 away from 270, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 12:
The number 31 fits into 220 7 times, leaving a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 5392.548387
If we subtract 217 from 220, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 13:
31 goes into 30 0 times with a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 5392.548387
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 14:
When dividing 300 by 31, we get 9 with a remainder of 21.
Write down 9 as next digit of the result. 
Result so far: 5392.54838709
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.

In conclusion, the division gives 5392.54838709 with a balance of 2.1e-08.