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

Moving on to step 1:
6 divided by 31 is 0 with a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Bring next digit (5) of the dividend behind the 6 and repeat the process: 65 / 31

Moving on to step 2:
When dividing 65 by 31, we get 2 with a remainder of 3.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 62 from 65 to get 3.
Take the next digit (3) from the dividend and append it to 3, then repeat: 33 / 31

On to step 3:
31 can be fit into 33 1 times, resulting in a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
Subtracting 31 from 33 leaves us with 2.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 31

On to step 4:
28 divided by 31 is 0 with a remainder of 28.
Write down 0 as next digit of the result. 
Result so far: 210.0
Subtracting 0 from 28 leaves us with 28.
Append the next digit (1) from the dividend to 28 and continue with: 281 / 31

Step 5:
When dividing 281 by 31, we get 9 with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 2109.0
Subtracting 279 from 281 leaves us with 2.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 31

Step 6:
If we divide 20 by 31, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 21090.0
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.

Step 7:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 21090.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:
31 can be fit into 140 4 times, resulting in a remainder of 16.
The next digit of our result is 4. 
Result so far: 21090.64
Subtract 124 from 140 to 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.

Moving on to step 9:
When dividing 160 by 31, we get 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 21090.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.

Going ahead to step 10:
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: 21090.6451
Subtracting 31 from 50 leaves us 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.

Step 11:
When dividing 190 by 31, we get 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 21090.64516
If we subtract 186 from 190, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 12:
If we divide 40 by 31, we get 1 and a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 21090.645161
Subtracting 31 from 40 leaves us 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.

On to step 13:
31 goes into 90 2 times with a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 21090.6451612
The remainder is 28 after subtracting 62 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 14:
31 goes into 280 9 times with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 21090.64516129
If we subtract 279 from 280, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

After the division, we end up with 21090.64516129 and a remainder of 1e-09.