Let's divide 620666 by 31
The aim is to understand the frequency of 31 in 620666.

On to step 1:
31 can be fit into 6 0 times, resulting in a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Grab the next digit (2) from the dividend, add it to 6, then carry on: 62 / 31

Let's proceed to step 2:
The number 31 fits into 62 2 times, leaving a remainder of 0.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 62 from 62, we get 0.
Take the next digit (0) from the dividend and append it to 0, then repeat: 0 / 31

Moving on to step 3:
When dividing 0 by 31, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 20.0
Subtracting 0 from 0 leaves us with 0.
Bring next digit (6) of the dividend behind the 0 and repeat the process: 6 / 31

On to step 4:
6 divided by 31 is 0 with a remainder of 6.
The next digit of our result is 0. 
Result so far: 200.0
The remainder is 6 after subtracting 0 from 6.
Grab the next digit (6) from the dividend, add it to 6, then carry on: 66 / 31

On to step 5:
When dividing 66 by 31, we get 2 with a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 2002.0
Subtracting 62 from 66 leaves us with 4.
Take the next digit (6) from the dividend and append it to 4, then repeat: 46 / 31

Step 6:
31 can be fit into 46 1 times, resulting in a remainder of 15.
The next digit of our result is 1. 
Result so far: 20021.0
If we subtract 31 from 46, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 7:
150 divided by 31 is 4 with a remainder of 26.
Record the quotient 4 as the next digit in the result. 
Result so far: 20021.4
If we subtract 124 from 150, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 8:
When dividing 260 by 31, we get 8 with a remainder of 12.
The next digit of our result is 8. 
Result so far: 20021.48
If we take 248 away from 260, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 9:
The number 31 fits into 120 3 times, leaving a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 20021.483
Deduct 93 from 120 and we're left 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.

Moving on to step 10:
270 divided by 31 is 8 with a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 20021.4838
Subtracting 248 from 270 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 11:
When dividing 220 by 31, we get 7 with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 20021.48387
The remainder is 3 after subtracting 217 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 12:
31 goes into 30 0 times with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 20021.48387
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 13:
31 can be fit into 300 9 times, resulting in a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 20021.4838709
Subtracting 279 from 300 leaves us with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Step 14:
The number 31 fits into 210 6 times, leaving a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 20021.48387096
Subtracting 186 from 210 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The quotient of the division is 20021.48387096, and the remainder is 2.4e-08.