We divide 816127 by 31
The aim is to understand the frequency of 31 in 816127.

Going ahead to step 1:
31 can be fit into 8 0 times, resulting in a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Grab the next digit (1) from the dividend, add it to 8, then carry on: 81 / 31

On to step 2:
31 goes into 81 2 times with a remainder of 19.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we take 62 away from 81, we end up with 19.
Append the next digit (6) from the dividend to 19 and continue with: 196 / 31

Going ahead to step 3:
If we divide 196 by 31, we get 6 and a remainder of 10.
The next digit of our result is 6. 
Result so far: 26.0
If we take 186 away from 196, we end up with 10.
Grab the next digit (1) from the dividend, add it to 10, then carry on: 101 / 31

Advancing to step 4:
31 goes into 101 3 times with a remainder of 8.
Use 3 as the next digit of our solution. 
Result so far: 263.0
Subtract 93 from 101 to get 8.
Include the next digit (2) from the dividend after 8, then repeat: 82 / 31

Going ahead to step 5:
When dividing 82 by 31, we get 2 with a remainder of 20.
The number 2 becomes the next digit in our result. 
Result so far: 2632.0
The remainder is 20 after subtracting 62 from 82.
Grab the next digit (7) from the dividend, add it to 20, then carry on: 207 / 31

On to step 6:
31 goes into 207 6 times with a remainder of 21.
Put 6 as the next digit of the answer. 
Result so far: 26326.0
The remainder is 21 after subtracting 186 from 207.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Step 7:
31 goes into 210 6 times with a remainder of 24.
The next digit of our result is 6. 
Result so far: 26326.6
If we take 186 away from 210, we end up 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.

Let's proceed to step 8:
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: 26326.67
Deduct 217 from 240 and we're left 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 9:
The number 31 fits into 230 7 times, leaving a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 26326.677
Subtract 217 from 230 to 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 quotient of the division is 26326.677, and the remainder is 0.0013.