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

Advancing to step 1:
The number 31 fits into 8 0 times, leaving 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.
Take the next digit (4) from the dividend and append it to 8, then repeat: 84 / 31

Step 2:
31 can be fit into 84 2 times, resulting in a remainder of 22.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 62 from 84, we get 22.
Bring next digit (2) of the dividend behind the 22 and repeat the process: 222 / 31

Advancing to step 3:
31 can be fit into 222 7 times, resulting in a remainder of 5.
Use 7 as the next digit of our solution. 
Result so far: 27.0
Subtracting 217 from 222 leaves us with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 31

Let's proceed to step 4:
31 goes into 50 1 times with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 271.0
If we take 31 away from 50, we end up with 19.
Include the next digit (3) from the dividend after 19, then repeat: 193 / 31

Advancing to step 5:
The number 31 fits into 193 6 times, leaving a remainder of 7.
Record the quotient 6 as the next digit in the result. 
Result so far: 2716.0
If we take 186 away from 193, we end up with 7.
Fetch the next digit (0) from the dividend, attach it to 7 and continue: 70 / 31

Step 6:
If we divide 70 by 31, we get 2 and a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 27162.0
Deduct 62 from 70 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 7:
31 can be fit into 80 2 times, resulting in a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 27162.2
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.

Advancing to step 8:
180 divided by 31 is 5 with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 27162.25
Subtracting 155 from 180 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 9:
If we divide 250 by 31, we get 8 and a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 27162.258
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.

Advancing to step 10:
The number 31 fits into 20 0 times, leaving a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 27162.258
Subtracting 0 from 20 leaves us 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.

Moving on to step 11:
If we divide 200 by 31, we get 6 and a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 27162.25806
Subtracting 186 from 200 leaves us 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.

Going ahead to step 12:
The number 31 fits into 140 4 times, leaving a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 27162.258064
If we subtract 124 from 140, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 13:
31 can be fit into 160 5 times, resulting in a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 27162.2580645
Subtracting 155 from 160 leaves us 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.

On to step 14:
If we divide 50 by 31, we get 1 and a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 27162.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 27162.25806451, and the remainder is 1.9e-08.