We're dividing 262231 by 31 
The aim is to understand the frequency of 31 in 262231.

Let's proceed to step 1:
31 goes into 2 0 times with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 31

Step 2:
31 goes into 26 0 times with a remainder of 26.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 26, we get 26.
Bring next digit (2) of the dividend behind the 26 and repeat the process: 262 / 31

Advancing to step 3:
31 can be fit into 262 8 times, resulting in a remainder of 14.
Write down 8 as next digit of the result. 
Result so far: 8.0
If we subtract 248 from 262, we get 14.
Append the next digit (2) from the dividend to 14 and continue with: 142 / 31

Moving on to step 4:
31 can be fit into 142 4 times, resulting in a remainder of 18.
Use 4 as the next digit of our solution. 
Result so far: 84.0
Subtracting 124 from 142 leaves us with 18.
Append the next digit (3) from the dividend to 18 and continue with: 183 / 31

Step 5:
31 can be fit into 183 5 times, resulting in a remainder of 28.
The number 5 becomes the next digit in our result. 
Result so far: 845.0
If we take 155 away from 183, we end up with 28.
Include the next digit (1) from the dividend after 28, then repeat: 281 / 31

Going ahead to step 6:
If we divide 281 by 31, we get 9 and a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 8459.0
If we take 279 away from 281, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
When dividing 20 by 31, we get 0 with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 8459.0
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 8:
31 can be fit into 200 6 times, resulting in a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 8459.06
If we take 186 away from 200, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 9:
When dividing 140 by 31, we get 4 with a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 8459.064
Deduct 124 from 140 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 10:
The number 31 fits into 160 5 times, leaving a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 8459.0645
The remainder is 5 after subtracting 155 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 11:
The number 31 fits into 50 1 times, leaving a remainder of 19.
The next digit of our result is 1. 
Result so far: 8459.06451
Subtracting 31 from 50 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 12:
The number 31 fits into 190 6 times, leaving a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 8459.064516
Subtracting 186 from 190 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 13:
The number 31 fits into 40 1 times, leaving a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 8459.0645161
The remainder is 9 after subtracting 31 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 14:
The number 31 fits into 90 2 times, leaving a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 8459.06451612
Subtract 62 from 90 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

In conclusion, the division gives 8459.06451612 with a balance of 2.8e-08.