We're dividing 820966 by 31 
The aim is to understand the frequency of 31 in 820966.

Step 1:
31 can be fit into 8 0 times, resulting in a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Append the next digit (2) from the dividend to 8 and continue with: 82 / 31

Let's proceed to step 2:
82 divided by 31 is 2 with a remainder of 20.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 20 after subtracting 62 from 82.
Take the next digit (0) from the dividend and append it to 20, then repeat: 200 / 31

Going ahead to step 3:
31 can be fit into 200 6 times, resulting in a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 26.0
Subtract 186 from 200 to get 14.
Fetch the next digit (9) from the dividend, attach it to 14 and continue: 149 / 31

On to step 4:
If we divide 149 by 31, we get 4 and a remainder of 25.
The next digit of our result is 4. 
Result so far: 264.0
If we subtract 124 from 149, we get 25.
Fetch the next digit (6) from the dividend, attach it to 25 and continue: 256 / 31

On to step 5:
If we divide 256 by 31, we get 8 and a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 2648.0
If we take 248 away from 256, we end up with 8.
Fetch the next digit (6) from the dividend, attach it to 8 and continue: 86 / 31

Advancing to step 6:
86 divided by 31 is 2 with a remainder of 24.
The next digit of our result is 2. 
Result so far: 26482.0
If we subtract 62 from 86, we 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.

On to step 7:
31 can be fit into 240 7 times, resulting in a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 26482.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.

On to step 8:
31 goes into 230 7 times with a remainder of 13.
The next digit of our result is 7. 
Result so far: 26482.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.

The final result is 26482.77 with a remainder of 0.013.