Let's divide 885293 by 31
The aim is to understand the frequency of 31 in 885293.

On to step 1:
The number 31 fits into 8 0 times, leaving a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Append the next digit (8) from the dividend to 8 and continue with: 88 / 31

Let's proceed to step 2:
31 goes into 88 2 times with a remainder of 26.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 62 away from 88, we end up with 26.
Grab the next digit (5) from the dividend, add it to 26, then carry on: 265 / 31

Going ahead to step 3:
31 can be fit into 265 8 times, resulting in a remainder of 17.
The number 8 becomes the next digit in our result. 
Result so far: 28.0
The remainder is 17 after subtracting 248 from 265.
Grab the next digit (2) from the dividend, add it to 17, then carry on: 172 / 31

Going ahead to step 4:
31 can be fit into 172 5 times, resulting in a remainder of 17.
The next digit of our result is 5. 
Result so far: 285.0
Subtracting 155 from 172 leaves us with 17.
Bring next digit (9) of the dividend behind the 17 and repeat the process: 179 / 31

Let's proceed to step 5:
31 goes into 179 5 times with a remainder of 24.
The number 5 becomes the next digit in our result. 
Result so far: 2855.0
Subtract 155 from 179 to get 24.
Grab the next digit (3) from the dividend, add it to 24, then carry on: 243 / 31

Moving on to step 6:
The number 31 fits into 243 7 times, leaving a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 28557.0
The remainder is 26 after subtracting 217 from 243.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 7:
If we divide 260 by 31, we get 8 and a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 28557.8
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.

Step 8:
If we divide 120 by 31, we get 3 and a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 28557.83
The remainder is 27 after subtracting 93 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 9:
The number 31 fits into 270 8 times, leaving a remainder of 22.
The next digit of our result is 8. 
Result so far: 28557.838
Subtracting 248 from 270 leaves us 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.

Step 10:
When dividing 220 by 31, we get 7 with a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 28557.8387
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 11:
30 divided by 31 is 0 with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 28557.8387
If we subtract 0 from 30, we get 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 12:
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: 28557.838709
Subtract 279 from 300 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 13:
31 can be fit into 210 6 times, resulting in a remainder of 24.
The next digit of our result is 6. 
Result so far: 28557.8387096
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 14:
The number 31 fits into 240 7 times, leaving a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 28557.83870967
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.

The final outcome is 28557.83870967, with a leftover of 2.3e-08.