793069 divided by 31 
The aim is to understand the frequency of 31 in 793069.

Going ahead to step 1:
31 can be fit into 7 0 times, resulting in a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 31

Step 2:
The number 31 fits into 79 2 times, leaving a remainder of 17.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Deduct 62 from 79 and we're left with 17.
Bring next digit (3) of the dividend behind the 17 and repeat the process: 173 / 31

Step 3:
31 goes into 173 5 times with a remainder of 18.
Write down 5 as next digit of the result. 
Result so far: 25.0
Deduct 155 from 173 and we're left with 18.
Fetch the next digit (0) from the dividend, attach it to 18 and continue: 180 / 31

Let's proceed to step 4:
180 divided by 31 is 5 with a remainder of 25.
The next digit of our result is 5. 
Result so far: 255.0
The remainder is 25 after subtracting 155 from 180.
Grab the next digit (6) from the dividend, add it to 25, then carry on: 256 / 31

Step 5:
The number 31 fits into 256 8 times, leaving a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 2558.0
If we take 248 away from 256, we end up with 8.
Include the next digit (9) from the dividend after 8, then repeat: 89 / 31

Going ahead to step 6:
89 divided by 31 is 2 with a remainder of 27.
Put 2 as the next digit of the answer. 
Result so far: 25582.0
Deduct 62 from 89 and we're left 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 7:
If we divide 270 by 31, we get 8 and a remainder of 22.
Write down 8 as next digit of the result. 
Result so far: 25582.8
If we take 248 away from 270, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 8:
220 divided by 31 is 7 with a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 25582.87
Deduct 217 from 220 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 9:
31 can be fit into 30 0 times, resulting in a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 25582.87
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 10:
The number 31 fits into 300 9 times, leaving a remainder of 21.
The next digit of our result is 9. 
Result so far: 25582.8709
Deduct 279 from 300 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 11:
The number 31 fits into 210 6 times, leaving a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 25582.87096
Subtract 186 from 210 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 12:
240 divided by 31 is 7 with a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 25582.870967
Subtracting 217 from 240 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Step 13:
If we divide 230 by 31, we get 7 and a remainder of 13.
The next digit of our result is 7. 
Result so far: 25582.8709677
If we take 217 away from 230, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

In conclusion, the division gives 25582.8709677 with a balance of 1.3e-07.