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

On to step 1:
If we divide 8 by 31, we get 0 and a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Include the next digit (0) from the dividend after 8, then repeat: 80 / 31

Step 2:
80 divided by 31 is 2 with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 18 after subtracting 62 from 80.
Bring next digit (0) of the dividend behind the 18 and repeat the process: 180 / 31

On to step 3:
If we divide 180 by 31, we get 5 and a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 25.0
Subtract 155 from 180 to get 25.
Take the next digit (8) from the dividend and append it to 25, then repeat: 258 / 31

Moving on to step 4:
258 divided by 31 is 8 with a remainder of 10.
Write down 8 as next digit of the result. 
Result so far: 258.0
If we take 248 away from 258, we end up with 10.
Include the next digit (0) from the dividend after 10, then repeat: 100 / 31

Advancing to step 5:
If we divide 100 by 31, we get 3 and a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 2583.0
If we subtract 93 from 100, we get 7.
Take the next digit (0) from the dividend and append it to 7, then repeat: 70 / 31

Let's proceed to step 6:
31 can be fit into 70 2 times, resulting in a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 25832.0
If we subtract 62 from 70, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 7:
If we divide 80 by 31, we get 2 and a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 25832.2
The remainder is 18 after subtracting 62 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 8:
31 can be fit into 180 5 times, resulting in a remainder of 25.
The next digit of our result is 5. 
Result so far: 25832.25
If we take 155 away from 180, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 9:
If we divide 250 by 31, we get 8 and a remainder of 2.
The next digit of our result is 8. 
Result so far: 25832.258
The remainder is 2 after subtracting 248 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 10:
When dividing 20 by 31, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 25832.258
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 11:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 25832.25806
Subtract 186 from 200 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 12:
31 goes into 140 4 times with a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 25832.258064
If we take 124 away from 140, we end up 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.

Step 13:
31 goes into 160 5 times with a remainder of 5.
The next digit of our result is 5. 
Result so far: 25832.2580645
Subtracting 155 from 160 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 14:
31 goes into 50 1 times with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 25832.25806451
Subtract 31 from 50 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The final outcome is 25832.25806451, with a leftover of 1.9e-08.