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

Step 1:
31 can be fit into 7 0 times, resulting in a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Grab the next digit (4) from the dividend, add it to 7, then carry on: 74 / 31

Going ahead to step 2:
74 divided by 31 is 2 with a remainder of 12.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 62 from 74, we get 12.
Grab the next digit (6) from the dividend, add it to 12, then carry on: 126 / 31

Going ahead to step 3:
31 can be fit into 126 4 times, resulting in a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 24.0
Subtracting 124 from 126 leaves us with 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 31

Moving on to step 4:
31 can be fit into 23 0 times, resulting in a remainder of 23.
Record the quotient 0 as the next digit in the result. 
Result so far: 240.0
The remainder is 23 after subtracting 0 from 23.
Include the next digit (4) from the dividend after 23, then repeat: 234 / 31

Moving on to step 5:
234 divided by 31 is 7 with a remainder of 17.
Record the quotient 7 as the next digit in the result. 
Result so far: 2407.0
If we take 217 away from 234, we end up with 17.
Bring next digit (5) of the dividend behind the 17 and repeat the process: 175 / 31

Going ahead 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: 24075.0
Deduct 155 from 175 and we're left 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 7:
When dividing 200 by 31, we get 6 with a remainder of 14.
Use 6 as the next digit of our solution. 
Result so far: 24075.6
If we subtract 186 from 200, we 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.

Let's proceed to step 8:
The number 31 fits into 140 4 times, leaving a remainder of 16.
The next digit of our result is 4. 
Result so far: 24075.64
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 9:
If we divide 160 by 31, we get 5 and a remainder of 5.
The next digit of our result is 5. 
Result so far: 24075.645
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.

Step 10:
If we divide 50 by 31, we get 1 and a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 24075.6451
Subtract 31 from 50 to 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.

Moving on to step 11:
When dividing 190 by 31, we get 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 24075.64516
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.

Advancing to step 12:
The number 31 fits into 40 1 times, leaving a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 24075.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.

On 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: 24075.6451612
Subtracting 62 from 90 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 14:
31 can be fit into 280 9 times, resulting in a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 24075.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 final result is 24075.64516129 with a remainder of 1e-09.