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

Moving on to step 1:
When dividing 7 by 31, we get 0 with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Fetch the next digit (0) from the dividend, attach it to 7 and continue: 70 / 31

On to step 2:
If we divide 70 by 31, we get 2 and a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 62 away from 70, we end up with 8.
Fetch the next digit (8) from the dividend, attach it to 8 and continue: 88 / 31

Moving on to step 3:
31 can be fit into 88 2 times, resulting in a remainder of 26.
Write down 2 as next digit of the result. 
Result so far: 22.0
Deduct 62 from 88 and we're left with 26.
Bring next digit (7) of the dividend behind the 26 and repeat the process: 267 / 31

Step 4:
31 goes into 267 8 times with a remainder of 19.
Put 8 as the next digit of the answer. 
Result so far: 228.0
Deduct 248 from 267 and we're left with 19.
Append the next digit (7) from the dividend to 19 and continue with: 197 / 31

Moving on to step 5:
If we divide 197 by 31, we get 6 and a remainder of 11.
Put 6 as the next digit of the answer. 
Result so far: 2286.0
Deduct 186 from 197 and we're left with 11.
Bring next digit (7) of the dividend behind the 11 and repeat the process: 117 / 31

Step 6:
31 can be fit into 117 3 times, resulting in a remainder of 24.
Record the quotient 3 as the next digit in the result. 
Result so far: 22863.0
Deduct 93 from 117 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 7:
31 can be fit into 240 7 times, resulting in a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 22863.7
If we take 217 away from 240, we end up 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.

Going ahead to step 8:
31 goes into 230 7 times with a remainder of 13.
The number 7 becomes the next digit in our result. 
Result so far: 22863.77
Subtracting 217 from 230 leaves us 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.

The final result is 22863.77 with a remainder of 0.013.