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

Step 1:
The number 31 fits into 8 0 times, leaving a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Include the next digit (1) from the dividend after 8, then repeat: 81 / 31

Let's proceed to step 2:
81 divided by 31 is 2 with a remainder of 19.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtracting 62 from 81 leaves us with 19.
Include the next digit (0) from the dividend after 19, then repeat: 190 / 31

On to step 3:
190 divided by 31 is 6 with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 26.0
If we subtract 186 from 190, we get 4.
Fetch the next digit (2) from the dividend, attach it to 4 and continue: 42 / 31

Step 4:
The number 31 fits into 42 1 times, leaving a remainder of 11.
The number 1 becomes the next digit in our result. 
Result so far: 261.0
Subtract 31 from 42 to get 11.
Fetch the next digit (3) from the dividend, attach it to 11 and continue: 113 / 31

Step 5:
If we divide 113 by 31, we get 3 and a remainder of 20.
Put 3 as the next digit of the answer. 
Result so far: 2613.0
Subtracting 93 from 113 leaves us with 20.
Fetch the next digit (8) from the dividend, attach it to 20 and continue: 208 / 31

Advancing to step 6:
31 can be fit into 208 6 times, resulting in a remainder of 22.
Put 6 as the next digit of the answer. 
Result so far: 26136.0
Subtracting 186 from 208 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.

Going ahead to step 7:
31 can be fit into 220 7 times, resulting in a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 26136.7
Subtracting 217 from 220 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 8:
31 can be fit into 30 0 times, resulting in a remainder of 30.
The next digit of our result is 0. 
Result so far: 26136.7
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 9:
31 goes into 300 9 times with a remainder of 21.
The number 9 becomes the next digit in our result. 
Result so far: 26136.709
Deduct 279 from 300 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 10:
31 goes into 210 6 times with a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 26136.7096
If we take 186 away from 210, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 11:
The number 31 fits into 240 7 times, leaving a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 26136.70967
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.

Going ahead to step 12:
When dividing 230 by 31, we get 7 with a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 26136.709677
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 outcome is 26136.709677, with a leftover of 1.3e-06.