Let's divide 930564 by 31
The aim is to understand the frequency of 31 in 930564.

Let's proceed 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.
Fetch the next digit (3) from the dividend, attach it to 9 and continue: 93 / 31

Let's proceed to step 2:
93 divided by 31 is 3 with a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Deduct 93 from 93 and we're left with 0.
Take the next digit (0) from the dividend and append it to 0, then repeat: 0 / 31

Advancing to step 3:
If we divide 0 by 31, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 30.0
If we take 0 away from 0, we end up with 0.
Fetch the next digit (5) from the dividend, attach it to 0 and continue: 5 / 31

Advancing to step 4:
31 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 300.0
If we subtract 0 from 5, we get 5.
Include the next digit (6) from the dividend after 5, then repeat: 56 / 31

On to step 5:
31 goes into 56 1 times with a remainder of 25.
The number 1 becomes the next digit in our result. 
Result so far: 3001.0
If we take 31 away from 56, we end up with 25.
Take the next digit (4) from the dividend and append it to 25, then repeat: 254 / 31

Moving on to step 6:
When dividing 254 by 31, we get 8 with a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 30018.0
The remainder is 6 after subtracting 248 from 254.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 7:
31 can be fit into 60 1 times, resulting in a remainder of 29.
Use 1 as the next digit of our solution. 
Result so far: 30018.1
The remainder is 29 after subtracting 31 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 8:
If we divide 290 by 31, we get 9 and a remainder of 11.
Record the quotient 9 as the next digit in the result. 
Result so far: 30018.19
Deduct 279 from 290 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 9:
When dividing 110 by 31, we get 3 with a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 30018.193
Deduct 93 from 110 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 10:
31 goes into 170 5 times with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 30018.1935
Subtract 155 from 170 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 11:
150 divided by 31 is 4 with a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 30018.19354
Subtracting 124 from 150 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 12:
The number 31 fits into 260 8 times, leaving a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 30018.193548
Subtract 248 from 260 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 13:
When dividing 120 by 31, we get 3 with a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 30018.1935483
The remainder is 27 after subtracting 93 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 14:
If we divide 270 by 31, we get 8 and a remainder of 22.
Record the quotient 8 as the next digit in the result. 
Result so far: 30018.19354838
Deduct 248 from 270 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

In conclusion, the division gives 30018.19354838 with a balance of 2.2e-08.