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

On to step 1:
The number 31 fits into 9 0 times, leaving a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Bring next digit (2) of the dividend behind the 9 and repeat the process: 92 / 31

On to step 2:
The number 31 fits into 92 2 times, leaving a remainder of 30.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 62 away from 92, we end up with 30.
Append the next digit (3) from the dividend to 30 and continue with: 303 / 31

Advancing to step 3:
31 can be fit into 303 9 times, resulting in a remainder of 24.
Record the quotient 9 as the next digit in the result. 
Result so far: 29.0
Subtracting 279 from 303 leaves us with 24.
Append the next digit (6) from the dividend to 24 and continue with: 246 / 31

Step 4:
The number 31 fits into 246 7 times, leaving a remainder of 29.
The number 7 becomes the next digit in our result. 
Result so far: 297.0
If we take 217 away from 246, we end up with 29.
Grab the next digit (6) from the dividend, add it to 29, then carry on: 296 / 31

Going ahead to step 5:
296 divided by 31 is 9 with a remainder of 17.
Put 9 as the next digit of the answer. 
Result so far: 2979.0
Subtract 279 from 296 to get 17.
Append the next digit (5) from the dividend to 17 and continue with: 175 / 31

Let's proceed to step 6:
If we divide 175 by 31, we get 5 and a remainder of 20.
The next digit of our result is 5. 
Result so far: 29795.0
If we take 155 away from 175, we end up 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.

Step 7:
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: 29795.6
Subtract 186 from 200 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 8:
The number 31 fits into 140 4 times, leaving a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 29795.64
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.

Moving on to step 9:
When dividing 160 by 31, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 29795.645
If we take 155 away from 160, we end up 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:
When dividing 50 by 31, we get 1 with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 29795.6451
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.

Moving on to step 11:
If we divide 190 by 31, we get 6 and a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 29795.64516
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.

Step 12:
31 goes into 40 1 times with a remainder of 9.
The next digit of our result is 1. 
Result so far: 29795.645161
If we subtract 31 from 40, we 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.

Going ahead to step 13:
When dividing 90 by 31, we get 2 with a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 29795.6451612
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.

Let's proceed to step 14:
280 divided by 31 is 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 29795.64516129
Subtract 279 from 280 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

The quotient of the division is 29795.64516129, and the remainder is 1e-09.