We look at the division of 9324560 by 31 
The aim is to understand the frequency of 31 in 9324560.

Moving on to step 1:
When dividing 9 by 31, we get 0 with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Grab the next digit (3) from the dividend, add it to 9, then carry on: 93 / 31

Going ahead to step 2:
93 divided by 31 is 3 with a remainder of 0.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we take 93 away from 93, we end up with 0.
Include the next digit (2) from the dividend after 0, then repeat: 2 / 31

Going ahead to step 3:
The number 31 fits into 2 0 times, leaving a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 30.0
The remainder is 2 after subtracting 0 from 2.
Take the next digit (4) from the dividend and append it to 2, then repeat: 24 / 31

Going ahead to step 4:
31 goes into 24 0 times with a remainder of 24.
The number 0 becomes the next digit in our result. 
Result so far: 300.0
The remainder is 24 after subtracting 0 from 24.
Append the next digit (5) from the dividend to 24 and continue with: 245 / 31

Step 5:
The number 31 fits into 245 7 times, leaving a remainder of 28.
The number 7 becomes the next digit in our result. 
Result so far: 3007.0
If we take 217 away from 245, we end up with 28.
Fetch the next digit (6) from the dividend, attach it to 28 and continue: 286 / 31

Going ahead to step 6:
When dividing 286 by 31, we get 9 with a remainder of 7.
Write down 9 as next digit of the result. 
Result so far: 30079.0
Subtracting 279 from 286 leaves us with 7.
Include the next digit (0) from the dividend after 7, then repeat: 70 / 31

Advancing to step 7:
When dividing 70 by 31, we get 2 with a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 300792.0
Deduct 62 from 70 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 8:
When dividing 80 by 31, we get 2 with a remainder of 18.
The next digit of our result is 2. 
Result so far: 300792.2
If we subtract 62 from 80, we 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.

Moving on to step 9:
The number 31 fits into 180 5 times, leaving a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 300792.25
If we subtract 155 from 180, we 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.

On to step 10:
250 divided by 31 is 8 with a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 300792.258
The remainder is 2 after subtracting 248 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 11:
If we divide 20 by 31, we get 0 and a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 300792.258
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 12:
31 can be fit into 200 6 times, resulting in a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 300792.25806
The remainder is 14 after subtracting 186 from 200.
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 13:
140 divided by 31 is 4 with a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 300792.258064
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.

Step 14:
The number 31 fits into 160 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 300792.2580645
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.

Moving on to step 15:
The number 31 fits into 50 1 times, leaving a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 300792.25806451
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Our division results in 300792.25806451 with a remaining 1.9e-08.