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

On to step 1:
If we divide 6 by 31, we get 0 and a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Append the next digit (5) from the dividend to 6 and continue with: 65 / 31

Moving on to step 2:
65 divided by 31 is 2 with a remainder of 3.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 62 from 65 and we're left with 3.
Fetch the next digit (5) from the dividend, attach it to 3 and continue: 35 / 31

Going ahead to step 3:
The number 31 fits into 35 1 times, leaving a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 21.0
The remainder is 4 after subtracting 31 from 35.
Bring next digit (7) of the dividend behind the 4 and repeat the process: 47 / 31

Advancing to step 4:
31 goes into 47 1 times with a remainder of 16.
Record the quotient 1 as the next digit in the result. 
Result so far: 211.0
If we take 31 away from 47, we end up with 16.
Append the next digit (5) from the dividend to 16 and continue with: 165 / 31

Advancing to step 5:
31 goes into 165 5 times with a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 2115.0
If we take 155 away from 165, we end up with 10.
Bring next digit (9) of the dividend behind the 10 and repeat the process: 109 / 31

Step 6:
31 goes into 109 3 times with a remainder of 16.
Use 3 as the next digit of our solution. 
Result so far: 21153.0
Subtract 93 from 109 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.

Step 7:
31 can be fit into 160 5 times, resulting in a remainder of 5.
The next digit of our result is 5. 
Result so far: 21153.5
Deduct 155 from 160 and we're left 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.

Going ahead to step 8:
The number 31 fits into 50 1 times, leaving a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 21153.51
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 9:
If we divide 190 by 31, we get 6 and a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 21153.516
Deduct 186 from 190 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 10:
The number 31 fits into 40 1 times, leaving a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 21153.5161
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.

Advancing to step 11:
The number 31 fits into 90 2 times, leaving a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 21153.51612
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.

Let's proceed to step 12:
31 can be fit into 280 9 times, resulting in a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 21153.516129
If we take 279 away from 280, we end up 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.

Going ahead to step 13:
31 can be fit into 10 0 times, resulting in a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 21153.516129
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 14:
31 can be fit into 100 3 times, resulting in a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 21153.51612903
If we take 93 away from 100, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

The final result is 21153.51612903 with a remainder of 7e-09.