827346 divided by 31 
The aim is to understand the frequency of 31 in 827346.

Moving on to step 1:
When dividing 8 by 31, we get 0 with a remainder of 8.
The next digit of our result is 0. 
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

Going ahead to step 2:
When dividing 82 by 31, we get 2 with a remainder of 20.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 62 away from 82, we end up with 20.
Bring next digit (7) of the dividend behind the 20 and repeat the process: 207 / 31

Step 3:
31 goes into 207 6 times with a remainder of 21.
The next digit of our result is 6. 
Result so far: 26.0
Subtract 186 from 207 to get 21.
Fetch the next digit (3) from the dividend, attach it to 21 and continue: 213 / 31

Going ahead to step 4:
31 goes into 213 6 times with a remainder of 27.
Record the quotient 6 as the next digit in the result. 
Result so far: 266.0
The remainder is 27 after subtracting 186 from 213.
Include the next digit (4) from the dividend after 27, then repeat: 274 / 31

Step 5:
When dividing 274 by 31, we get 8 with a remainder of 26.
Put 8 as the next digit of the answer. 
Result so far: 2668.0
Deduct 248 from 274 and we're left with 26.
Include the next digit (6) from the dividend after 26, then repeat: 266 / 31

Moving on to step 6:
31 can be fit into 266 8 times, resulting in a remainder of 18.
The next digit of our result is 8. 
Result so far: 26688.0
If we take 248 away from 266, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 7:
If we divide 180 by 31, we get 5 and a remainder of 25.
The next digit of our result is 5. 
Result so far: 26688.5
The remainder is 25 after subtracting 155 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 8:
250 divided by 31 is 8 with a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 26688.58
If we take 248 away from 250, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 9:
20 divided by 31 is 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 26688.58
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 10:
The number 31 fits into 200 6 times, leaving a remainder of 14.
The next digit of our result is 6. 
Result so far: 26688.5806
Deduct 186 from 200 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 11:
If we divide 140 by 31, we get 4 and a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 26688.58064
If we take 124 away from 140, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 12:
160 divided by 31 is 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 26688.580645
If we take 155 away from 160, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 13:
31 goes into 50 1 times with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 26688.5806451
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 14:
31 goes into 190 6 times with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 26688.58064516
Subtracting 186 from 190 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final result is 26688.58064516 with a remainder of 4e-09.