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

Advancing to step 1:
31 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 31

Going ahead to step 2:
31 goes into 42 1 times with a remainder of 11.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 31 from 42, we get 11.
Append the next digit (7) from the dividend to 11 and continue with: 117 / 31

Advancing to step 3:
117 divided by 31 is 3 with a remainder of 24.
Use 3 as the next digit of our solution. 
Result so far: 13.0
Deduct 93 from 117 and we're left with 24.
Grab the next digit (3) from the dividend, add it to 24, then carry on: 243 / 31

Let's proceed to step 4:
31 can be fit into 243 7 times, resulting in a remainder of 26.
The number 7 becomes the next digit in our result. 
Result so far: 137.0
If we subtract 217 from 243, we get 26.
Take the next digit (2) from the dividend and append it to 26, then repeat: 262 / 31

Advancing to step 5:
31 goes into 262 8 times with a remainder of 14.
Use 8 as the next digit of our solution. 
Result so far: 1378.0
The remainder is 14 after subtracting 248 from 262.
Include the next digit (2) from the dividend after 14, then repeat: 142 / 31

On to step 6:
If we divide 142 by 31, we get 4 and a remainder of 18.
Record the quotient 4 as the next digit in the result. 
Result so far: 13784.0
Subtract 124 from 142 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 7:
If we divide 180 by 31, we get 5 and a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 13784.5
Subtract 155 from 180 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 8:
250 divided by 31 is 8 with a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 13784.58
Subtract 248 from 250 to 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.

Advancing to step 9:
31 goes into 20 0 times with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 13784.58
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 10:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 13784.5806
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 11:
When dividing 140 by 31, we get 4 with a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 13784.58064
Subtracting 124 from 140 leaves us 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.

Going ahead to step 12:
31 can be fit into 160 5 times, resulting in a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 13784.580645
Subtract 155 from 160 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 13:
31 goes into 50 1 times with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 13784.5806451
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.

Going ahead to step 14:
The number 31 fits into 190 6 times, leaving a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 13784.58064516
If we take 186 away from 190, we end up 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.

Our division results in 13784.58064516 with a remaining 4e-09.