We're dividing 30134 by 31 
The aim is to understand the frequency of 31 in 30134.

Advancing to step 1:
31 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (0) from the dividend, attach it to 3 and continue: 30 / 31

Step 2:
The number 31 fits into 30 0 times, leaving a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 30 and we're left with 30.
Grab the next digit (1) from the dividend, add it to 30, then carry on: 301 / 31

Step 3:
When dividing 301 by 31, we get 9 with a remainder of 22.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
Subtract 279 from 301 to get 22.
Take the next digit (3) from the dividend and append it to 22, then repeat: 223 / 31

Moving on to step 4:
31 goes into 223 7 times with a remainder of 6.
Record the quotient 7 as the next digit in the result. 
Result so far: 97.0
Deduct 217 from 223 and we're left with 6.
Bring next digit (4) of the dividend behind the 6 and repeat the process: 64 / 31

On to step 5:
31 can be fit into 64 2 times, resulting in a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 972.0
Subtracting 62 from 64 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 6:
If we divide 20 by 31, we get 0 and a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 972.0
Subtract 0 from 20 to get 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 7:
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: 972.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.

Going ahead to step 8:
31 can be fit into 140 4 times, resulting in a remainder of 16.
The next digit of our result is 4. 
Result so far: 972.064
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.

On to step 9:
When dividing 160 by 31, we get 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 972.0645
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.

Advancing to step 10:
31 can be fit into 50 1 times, resulting in a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 972.06451
If we subtract 31 from 50, we 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.

Step 11:
When dividing 190 by 31, we get 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 972.064516
Subtract 186 from 190 to 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 12:
31 goes into 40 1 times with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 972.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.

Advancing to step 13:
When dividing 90 by 31, we get 2 with a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 972.06451612
The remainder is 28 after subtracting 62 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The quotient of the division is 972.06451612, and the remainder is 2.8e-08.