795364 ÷ 31 
The aim is to understand the frequency of 31 in 795364.

Step 1:
31 goes into 7 0 times with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 31

On to step 2:
31 goes into 79 2 times with a remainder of 17.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtracting 62 from 79 leaves us with 17.
Fetch the next digit (5) from the dividend, attach it to 17 and continue: 175 / 31

Advancing to step 3:
175 divided by 31 is 5 with a remainder of 20.
The next digit of our result is 5. 
Result so far: 25.0
Deduct 155 from 175 and we're left with 20.
Take the next digit (3) from the dividend and append it to 20, then repeat: 203 / 31

Advancing to step 4:
203 divided by 31 is 6 with a remainder of 17.
Use 6 as the next digit of our solution. 
Result so far: 256.0
Subtract 186 from 203 to get 17.
Append the next digit (6) from the dividend to 17 and continue with: 176 / 31

Step 5:
The number 31 fits into 176 5 times, leaving a remainder of 21.
The number 5 becomes the next digit in our result. 
Result so far: 2565.0
Subtract 155 from 176 to get 21.
Grab the next digit (4) from the dividend, add it to 21, then carry on: 214 / 31

Let's proceed to step 6:
When dividing 214 by 31, we get 6 with a remainder of 28.
The next digit of our result is 6. 
Result so far: 25656.0
The remainder is 28 after subtracting 186 from 214.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 7:
The number 31 fits into 280 9 times, leaving a remainder of 1.
The next digit of our result is 9. 
Result so far: 25656.9
If we take 279 away from 280, we end up with 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 8:
The number 31 fits into 10 0 times, leaving a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 25656.9
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 9:
The number 31 fits into 100 3 times, leaving a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 25656.903
The remainder is 7 after subtracting 93 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 10:
31 can be fit into 70 2 times, resulting in a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 25656.9032
Deduct 62 from 70 and we're left with 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 11:
The number 31 fits into 80 2 times, leaving a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 25656.90322
If we subtract 62 from 80, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 25656.90322 and a remainder of 1.8e-05.