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

Let's proceed to step 1:
If we divide 6 by 31, we get 0 and a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Append the next digit (0) from the dividend to 6 and continue with: 60 / 31

Let's proceed to step 2:
31 goes into 60 1 times with a remainder of 29.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 31 from 60 to get 29.
Bring next digit (2) of the dividend behind the 29 and repeat the process: 292 / 31

Advancing to step 3:
31 can be fit into 292 9 times, resulting in a remainder of 13.
Use 9 as the next digit of our solution. 
Result so far: 19.0
Subtract 279 from 292 to get 13.
Include the next digit (8) from the dividend after 13, then repeat: 138 / 31

Advancing to step 4:
The number 31 fits into 138 4 times, leaving a remainder of 14.
Put 4 as the next digit of the answer. 
Result so far: 194.0
Deduct 124 from 138 and we're left with 14.
Bring next digit (4) of the dividend behind the 14 and repeat the process: 144 / 31

Moving on to step 5:
31 can be fit into 144 4 times, resulting in a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 1944.0
If we subtract 124 from 144, we get 20.
Fetch the next digit (6) from the dividend, attach it to 20 and continue: 206 / 31

On to step 6:
If we divide 206 by 31, we get 6 and a remainder of 20.
Write down 6 as next digit of the result. 
Result so far: 19446.0
Deduct 186 from 206 and we're left 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 7:
31 goes into 200 6 times with a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 19446.6
If we subtract 186 from 200, we get 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 8:
If we divide 140 by 31, we get 4 and a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 19446.64
Deduct 124 from 140 and we're left 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 9:
160 divided by 31 is 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 19446.645
Subtract 155 from 160 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 10:
The number 31 fits into 50 1 times, leaving a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 19446.6451
If we subtract 31 from 50, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 11:
31 goes into 190 6 times with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 19446.64516
The remainder is 4 after subtracting 186 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 12:
31 goes into 40 1 times with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 19446.645161
Deduct 31 from 40 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 13:
The number 31 fits into 90 2 times, leaving a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 19446.6451612
Deduct 62 from 90 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 14:
If we divide 280 by 31, we get 9 and a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 19446.64516129
Subtracting 279 from 280 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Our division results in 19446.64516129 with a remaining 1e-09.