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

Advancing to step 1:
If we divide 9 by 31, we get 0 and a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Take the next digit (9) from the dividend and append it to 9, then repeat: 99 / 31

Advancing to step 2:
31 goes into 99 3 times with a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we subtract 93 from 99, we get 6.
Take the next digit (5) from the dividend and append it to 6, then repeat: 65 / 31

Going ahead to step 3:
If we divide 65 by 31, we get 2 and a remainder of 3.
The next digit of our result is 2. 
Result so far: 32.0
If we take 62 away from 65, we end up with 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 31

Step 4:
37 divided by 31 is 1 with a remainder of 6.
The next digit of our result is 1. 
Result so far: 321.0
The remainder is 6 after subtracting 31 from 37.
Fetch the next digit (7) from the dividend, attach it to 6 and continue: 67 / 31

On to step 5:
67 divided by 31 is 2 with a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 3212.0
Deduct 62 from 67 and we're left with 5.
Include the next digit (9) from the dividend after 5, then repeat: 59 / 31

Going ahead to step 6:
59 divided by 31 is 1 with a remainder of 28.
Write down 1 as next digit of the result. 
Result so far: 32121.0
If we take 31 away from 59, we end up 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.

Moving on to step 7:
280 divided by 31 is 9 with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 32121.9
Deduct 279 from 280 and we're left 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.

Going ahead to step 8:
10 divided by 31 is 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 32121.9
Subtracting 0 from 10 leaves us with 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 9:
31 goes into 100 3 times with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 32121.903
If we take 93 away from 100, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 10:
The number 31 fits into 70 2 times, leaving a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 32121.9032
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.

Going ahead to step 11:
If we divide 80 by 31, we get 2 and a remainder of 18.
The next digit of our result is 2. 
Result so far: 32121.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.

The final outcome is 32121.90322, with a leftover of 1.8e-05.