We divide 462677 by 31
The aim is to understand the frequency of 31 in 462677.

On to step 1:
If we divide 4 by 31, we get 0 and a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (6) from the dividend to 4 and continue with: 46 / 31

Advancing to step 2:
46 divided by 31 is 1 with a remainder of 15.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 31 from 46, we get 15.
Grab the next digit (2) from the dividend, add it to 15, then carry on: 152 / 31

Going ahead to step 3:
When dividing 152 by 31, we get 4 with a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 14.0
Subtract 124 from 152 to get 28.
Bring next digit (6) of the dividend behind the 28 and repeat the process: 286 / 31

Moving on to step 4:
The number 31 fits into 286 9 times, leaving a remainder of 7.
The next digit of our result is 9. 
Result so far: 149.0
Subtracting 279 from 286 leaves us with 7.
Append the next digit (7) from the dividend to 7 and continue with: 77 / 31

Advancing to step 5:
31 goes into 77 2 times with a remainder of 15.
Use 2 as the next digit of our solution. 
Result so far: 1492.0
Subtracting 62 from 77 leaves us with 15.
Grab the next digit (7) from the dividend, add it to 15, then carry on: 157 / 31

Advancing to step 6:
When dividing 157 by 31, we get 5 with a remainder of 2.
The next digit of our result is 5. 
Result so far: 14925.0
Deduct 155 from 157 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
31 can be fit into 20 0 times, resulting in a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 14925.0
If we take 0 away from 20, we end up 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 8:
When dividing 200 by 31, we get 6 with a remainder of 14.
Use 6 as the next digit of our solution. 
Result so far: 14925.06
Subtracting 186 from 200 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 9:
31 can be fit into 140 4 times, resulting in a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 14925.064
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 10:
31 can be fit into 160 5 times, resulting in a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 14925.0645
If we take 155 away from 160, we end up 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.

Advancing to step 11:
50 divided by 31 is 1 with a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 14925.06451
Subtract 31 from 50 to 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.

Going ahead to step 12:
31 goes into 190 6 times with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 14925.064516
If we take 186 away from 190, we end up 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.

On to step 13:
31 can be fit into 40 1 times, resulting in a remainder of 9.
The next digit of our result is 1. 
Result so far: 14925.0645161
If we subtract 31 from 40, we get 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 14:
31 can be fit into 90 2 times, resulting in a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 14925.06451612
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.

Our division results in 14925.06451612 with a remaining 2.8e-08.