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

Going ahead to step 1:
The number 31 fits into 7 0 times, leaving a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Grab the next digit (6) from the dividend, add it to 7, then carry on: 76 / 31

Going ahead to step 2:
76 divided by 31 is 2 with a remainder of 14.
Use 2 as the next digit of our solution. 
Result so far: 2.0
The remainder is 14 after subtracting 62 from 76.
Bring next digit (9) of the dividend behind the 14 and repeat the process: 149 / 31

Moving on to step 3:
The number 31 fits into 149 4 times, leaving a remainder of 25.
Write down 4 as next digit of the result. 
Result so far: 24.0
Subtracting 124 from 149 leaves us with 25.
Bring next digit (3) of the dividend behind the 25 and repeat the process: 253 / 31

Advancing to step 4:
31 can be fit into 253 8 times, resulting in a remainder of 5.
Record the quotient 8 as the next digit in the result. 
Result so far: 248.0
If we take 248 away from 253, we end up with 5.
Bring next digit (3) of the dividend behind the 5 and repeat the process: 53 / 31

Step 5:
When dividing 53 by 31, we get 1 with a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 2481.0
Subtract 31 from 53 to get 22.
Take the next digit (1) from the dividend and append it to 22, then repeat: 221 / 31

Going ahead to step 6:
When dividing 221 by 31, we get 7 with a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 24817.0
The remainder is 4 after subtracting 217 from 221.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 7:
When dividing 40 by 31, we get 1 with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 24817.1
If we take 31 away from 40, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 8:
31 goes into 90 2 times with a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 24817.12
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.

Going ahead to step 9:
The number 31 fits into 280 9 times, leaving a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 24817.129
If we subtract 279 from 280, we 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.

Step 10:
10 divided by 31 is 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 24817.129
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 11:
31 goes into 100 3 times with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 24817.12903
Subtract 93 from 100 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 12:
31 goes into 70 2 times with a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 24817.129032
If we subtract 62 from 70, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 13:
31 can be fit into 80 2 times, resulting in a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 24817.1290322
Subtracting 62 from 80 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Our division results in 24817.1290322 with a remaining 1.8e-07.