305414 ÷ 31 
The aim is to understand the frequency of 31 in 305414.

Step 1:
If we divide 3 by 31, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (0) from the dividend and append it to 3, then repeat: 30 / 31

Step 2:
31 goes into 30 0 times with a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 30, we end up with 30.
Take the next digit (5) from the dividend and append it to 30, then repeat: 305 / 31

Going ahead to step 3:
The number 31 fits into 305 9 times, leaving a remainder of 26.
Use 9 as the next digit of our solution. 
Result so far: 9.0
If we take 279 away from 305, we end up with 26.
Append the next digit (4) from the dividend to 26 and continue with: 264 / 31

On to step 4:
The number 31 fits into 264 8 times, leaving a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 98.0
If we take 248 away from 264, we end up with 16.
Fetch the next digit (1) from the dividend, attach it to 16 and continue: 161 / 31

Let's proceed to step 5:
When dividing 161 by 31, we get 5 with a remainder of 6.
Use 5 as the next digit of our solution. 
Result so far: 985.0
Subtract 155 from 161 to get 6.
Append the next digit (4) from the dividend to 6 and continue with: 64 / 31

Advancing to step 6:
31 goes into 64 2 times with a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 9852.0
If we subtract 62 from 64, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 7:
31 can be fit into 20 0 times, resulting in a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 9852.0
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.

Let's proceed to step 8:
If we divide 200 by 31, we get 6 and a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 9852.06
Subtracting 186 from 200 leaves us 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:
31 can be fit into 140 4 times, resulting in a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 9852.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.

On to step 10:
If we divide 160 by 31, we get 5 and a remainder of 5.
The next digit of our result is 5. 
Result so far: 9852.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.

On to step 11:
If we divide 50 by 31, we get 1 and a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 9852.06451
Deduct 31 from 50 and we're left 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:
31 can be fit into 190 6 times, resulting in a remainder of 4.
The next digit of our result is 6. 
Result so far: 9852.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.

Going ahead to step 13:
40 divided by 31 is 1 with a remainder of 9.
The next digit of our result is 1. 
Result so far: 9852.0645161
Subtract 31 from 40 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 14:
31 goes into 90 2 times with a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 9852.06451612
Deduct 62 from 90 and we're left 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.

The final outcome is 9852.06451612, with a leftover of 2.8e-08.