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

Step 1:
When dividing 1 by 31, we get 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (0) from the dividend after 1, then repeat: 10 / 31

On to step 2:
31 goes into 10 0 times with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 10, we get 10.
Fetch the next digit (6) from the dividend, attach it to 10 and continue: 106 / 31

Let's proceed to step 3:
31 can be fit into 106 3 times, resulting in a remainder of 13.
The next digit of our result is 3. 
Result so far: 3.0
If we take 93 away from 106, we end up with 13.
Bring next digit (3) of the dividend behind the 13 and repeat the process: 133 / 31

Let's proceed to step 4:
133 divided by 31 is 4 with a remainder of 9.
Put 4 as the next digit of the answer. 
Result so far: 34.0
The remainder is 9 after subtracting 124 from 133.
Append the next digit (0) from the dividend to 9 and continue with: 90 / 31

On to step 5:
31 can be fit into 90 2 times, resulting in a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 342.0
If we take 62 away from 90, we end up with 28.
Include the next digit (4) from the dividend after 28, then repeat: 284 / 31

Going ahead to step 6:
31 can be fit into 284 9 times, resulting in a remainder of 5.
The next digit of our result is 9. 
Result so far: 3429.0
If we take 279 away from 284, we end up 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.

Step 7:
The number 31 fits into 50 1 times, leaving a remainder of 19.
The next digit of our result is 1. 
Result so far: 3429.1
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.

Moving on to step 8:
When dividing 190 by 31, we get 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 3429.16
If we subtract 186 from 190, we get 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 9:
If we divide 40 by 31, we get 1 and a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 3429.161
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.

Going ahead to step 10:
31 can be fit into 90 2 times, resulting in a remainder of 28.
The next digit of our result is 2. 
Result so far: 3429.1612
If we take 62 away from 90, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 11:
31 goes into 280 9 times with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 3429.16129
Subtracting 279 from 280 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 12:
31 can be fit into 10 0 times, resulting in a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 3429.16129
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 13:
31 can be fit into 100 3 times, resulting in a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 3429.1612903
Subtracting 93 from 100 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 14:
The number 31 fits into 70 2 times, leaving a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 3429.16129032
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.

Our division results in 3429.16129032 with a remaining 8e-09.