We look at the division of 819834 by 31 
The aim is to understand the frequency of 31 in 819834.

Moving on to step 1:
When dividing 8 by 31, we get 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Bring next digit (1) of the dividend behind the 8 and repeat the process: 81 / 31

Let's proceed to step 2:
31 can be fit into 81 2 times, resulting in a remainder of 19.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 62 from 81 and we're left with 19.
Fetch the next digit (9) from the dividend, attach it to 19 and continue: 199 / 31

Let's proceed to step 3:
When dividing 199 by 31, we get 6 with a remainder of 13.
Use 6 as the next digit of our solution. 
Result so far: 26.0
Deduct 186 from 199 and we're left with 13.
Take the next digit (8) from the dividend and append it to 13, then repeat: 138 / 31

Advancing to step 4:
31 can be fit into 138 4 times, resulting in a remainder of 14.
Use 4 as the next digit of our solution. 
Result so far: 264.0
Deduct 124 from 138 and we're left with 14.
Bring next digit (3) of the dividend behind the 14 and repeat the process: 143 / 31

Going ahead to step 5:
When dividing 143 by 31, we get 4 with a remainder of 19.
The number 4 becomes the next digit in our result. 
Result so far: 2644.0
If we subtract 124 from 143, we get 19.
Include the next digit (4) from the dividend after 19, then repeat: 194 / 31

Moving on to step 6:
When dividing 194 by 31, we get 6 with a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 26446.0
The remainder is 8 after subtracting 186 from 194.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 7:
The number 31 fits into 80 2 times, leaving a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 26446.2
If we take 62 away from 80, 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.

Going ahead to step 8:
31 goes into 180 5 times with a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 26446.25
If we subtract 155 from 180, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 9:
If we divide 250 by 31, we get 8 and a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 26446.258
Subtract 248 from 250 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 10:
When dividing 20 by 31, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 26446.258
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.

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

Let's proceed to step 12:
When dividing 140 by 31, we get 4 with a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 26446.258064
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.

Let's proceed to step 13:
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: 26446.2580645
The remainder is 5 after subtracting 155 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 14:
If we divide 50 by 31, we get 1 and a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 26446.25806451
If we take 31 away from 50, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The quotient of the division is 26446.25806451, and the remainder is 1.9e-08.