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

Advancing 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
Deduct 0 from 7 and we're left with 7.
Append the next digit (4) from the dividend to 7 and continue with: 74 / 31

Going ahead to step 2:
The number 31 fits into 74 2 times, leaving a remainder of 12.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 12 after subtracting 62 from 74.
Grab the next digit (2) from the dividend, add it to 12, then carry on: 122 / 31

Going ahead to step 3:
122 divided by 31 is 3 with a remainder of 29.
Record the quotient 3 as the next digit in the result. 
Result so far: 23.0
The remainder is 29 after subtracting 93 from 122.
Append the next digit (2) from the dividend to 29 and continue with: 292 / 31

Step 4:
31 goes into 292 9 times with a remainder of 13.
The number 9 becomes the next digit in our result. 
Result so far: 239.0
If we take 279 away from 292, we end up with 13.
Append the next digit (7) from the dividend to 13 and continue with: 137 / 31

Let's proceed to step 5:
137 divided by 31 is 4 with a remainder of 13.
The number 4 becomes the next digit in our result. 
Result so far: 2394.0
Deduct 124 from 137 and we're left with 13.
Bring next digit (0) of the dividend behind the 13 and repeat the process: 130 / 31

On to step 6:
When dividing 130 by 31, we get 4 with a remainder of 6.
Use 4 as the next digit of our solution. 
Result so far: 23944.0
Subtract 124 from 130 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 7:
If we divide 60 by 31, we get 1 and a remainder of 29.
The next digit of our result is 1. 
Result so far: 23944.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.

Moving on to step 8:
If we divide 290 by 31, we get 9 and a remainder of 11.
The next digit of our result is 9. 
Result so far: 23944.19
Subtract 279 from 290 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 9:
When dividing 110 by 31, we get 3 with a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 23944.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.

Going ahead to step 10:
31 can be fit into 170 5 times, resulting in a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 23944.1935
The remainder is 15 after subtracting 155 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 11:
When dividing 150 by 31, we get 4 with a remainder of 26.
Record the quotient 4 as the next digit in the result. 
Result so far: 23944.19354
Subtract 124 from 150 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 12:
31 goes into 260 8 times with a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 23944.193548
If we subtract 248 from 260, we 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.

Moving on to step 13:
When dividing 120 by 31, we get 3 with a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 23944.1935483
If we take 93 away from 120, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 14:
31 goes into 270 8 times with a remainder of 22.
Record the quotient 8 as the next digit in the result. 
Result so far: 23944.19354838
If we subtract 248 from 270, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Our division results in 23944.19354838 with a remaining 2.2e-08.