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

Moving on to step 1:
If we divide 8 by 31, we get 0 and a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Fetch the next digit (2) from the dividend, attach it to 8 and continue: 82 / 31

Step 2:
31 goes into 82 2 times with a remainder of 20.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtract 62 from 82 to get 20.
Append the next digit (0) from the dividend to 20 and continue with: 200 / 31

Step 3:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 26.0
If we take 186 away from 200, we end up with 14.
Fetch the next digit (3) from the dividend, attach it to 14 and continue: 143 / 31

Let's proceed to step 4:
The number 31 fits into 143 4 times, leaving a remainder of 19.
Put 4 as the next digit of the answer. 
Result so far: 264.0
If we subtract 124 from 143, we get 19.
Take the next digit (7) from the dividend and append it to 19, then repeat: 197 / 31

Moving on to step 5:
The number 31 fits into 197 6 times, leaving a remainder of 11.
The next digit of our result is 6. 
Result so far: 2646.0
Subtract 186 from 197 to get 11.
Include the next digit (7) from the dividend after 11, then repeat: 117 / 31

Step 6:
31 can be fit into 117 3 times, resulting in a remainder of 24.
Write down 3 as next digit of the result. 
Result so far: 26463.0
Subtract 93 from 117 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.

Advancing to step 7:
240 divided by 31 is 7 with a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 26463.7
If we subtract 217 from 240, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 8:
If we divide 230 by 31, we get 7 and a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 26463.77
If we subtract 217 from 230, we get 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 26463.77 with a balance of 0.013.