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

Let's proceed to step 1:
7 divided by 31 is 0 with a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Grab the next digit (4) from the dividend, add it to 7, then carry on: 74 / 31

On to step 2:
31 can be fit into 74 2 times, resulting in a remainder of 12.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
The remainder is 12 after subtracting 62 from 74.
Bring next digit (3) of the dividend behind the 12 and repeat the process: 123 / 31

Moving on to step 3:
The number 31 fits into 123 3 times, leaving a remainder of 30.
Use 3 as the next digit of our solution. 
Result so far: 23.0
Subtracting 93 from 123 leaves us with 30.
Take the next digit (7) from the dividend and append it to 30, then repeat: 307 / 31

Moving on to step 4:
31 can be fit into 307 9 times, resulting in a remainder of 28.
The next digit of our result is 9. 
Result so far: 239.0
The remainder is 28 after subtracting 279 from 307.
Grab the next digit (7) from the dividend, add it to 28, then carry on: 287 / 31

On to step 5:
287 divided by 31 is 9 with a remainder of 8.
The number 9 becomes the next digit in our result. 
Result so far: 2399.0
Subtracting 279 from 287 leaves us with 8.
Bring next digit (0) of the dividend behind the 8 and repeat the process: 80 / 31

Going ahead to step 6:
31 goes into 80 2 times with a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 23992.0
The remainder is 18 after subtracting 62 from 80.
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 7:
The number 31 fits into 180 5 times, leaving a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 23992.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.

Let's proceed to step 8:
31 goes into 250 8 times with a remainder of 2.
The next digit of our result is 8. 
Result so far: 23992.58
If we take 248 away from 250, we end up with 2.
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 9:
31 goes into 20 0 times with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 23992.58
The remainder is 20 after subtracting 0 from 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 10:
31 can be fit into 200 6 times, resulting in a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 23992.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:
140 divided by 31 is 4 with a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 23992.58064
Subtract 124 from 140 to get 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 goes into 160 5 times with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 23992.580645
Subtracting 155 from 160 leaves us 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.

Moving on to step 13:
If we divide 50 by 31, we get 1 and a remainder of 19.
The next digit of our result is 1. 
Result so far: 23992.5806451
Subtracting 31 from 50 leaves us 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.

Advancing to step 14:
When dividing 190 by 31, we get 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 23992.58064516
Deduct 186 from 190 and we're left 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.

The final result is 23992.58064516 with a remainder of 4e-09.