613164 ÷ 31 
The aim is to understand the frequency of 31 in 613164.

Going ahead to step 1:
The number 31 fits into 6 0 times, leaving a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Bring next digit (1) of the dividend behind the 6 and repeat the process: 61 / 31

Advancing to step 2:
31 can be fit into 61 1 times, resulting in a remainder of 30.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 31 from 61 and we're left with 30.
Take the next digit (3) from the dividend and append it to 30, then repeat: 303 / 31

Going ahead to step 3:
When dividing 303 by 31, we get 9 with a remainder of 24.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
Subtracting 279 from 303 leaves us with 24.
Bring next digit (1) of the dividend behind the 24 and repeat the process: 241 / 31

Going ahead to step 4:
The number 31 fits into 241 7 times, leaving a remainder of 24.
Record the quotient 7 as the next digit in the result. 
Result so far: 197.0
If we take 217 away from 241, we end up with 24.
Append the next digit (6) from the dividend to 24 and continue with: 246 / 31

Moving on to step 5:
If we divide 246 by 31, we get 7 and a remainder of 29.
Record the quotient 7 as the next digit in the result. 
Result so far: 1977.0
If we subtract 217 from 246, we get 29.
Bring next digit (4) of the dividend behind the 29 and repeat the process: 294 / 31

Advancing to step 6:
31 goes into 294 9 times with a remainder of 15.
Put 9 as the next digit of the answer. 
Result so far: 19779.0
The remainder is 15 after subtracting 279 from 294.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 7:
When dividing 150 by 31, we get 4 with a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 19779.4
Subtracting 124 from 150 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 8:
The number 31 fits into 260 8 times, leaving a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 19779.48
Subtract 248 from 260 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 9:
31 goes into 120 3 times with a remainder of 27.
The next digit of our result is 3. 
Result so far: 19779.483
If we take 93 away from 120, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 10:
31 can be fit into 270 8 times, resulting in a remainder of 22.
The next digit of our result is 8. 
Result so far: 19779.4838
Subtract 248 from 270 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 11:
When dividing 220 by 31, we get 7 with a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 19779.48387
Subtract 217 from 220 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 12:
30 divided by 31 is 0 with a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 19779.48387
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 13:
31 goes into 300 9 times with a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 19779.4838709
If we subtract 279 from 300, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 14:
The number 31 fits into 210 6 times, leaving a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 19779.48387096
Subtract 186 from 210 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

After the division, we end up with 19779.48387096 and a remainder of 2.4e-08.