106684 divided by 31 
The aim is to understand the frequency of 31 in 106684.

On to step 1:
31 goes into 1 0 times with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 31

On to step 2:
31 can be fit into 10 0 times, resulting in a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 10 to get 10.
Bring next digit (6) of the dividend behind the 10 and repeat the process: 106 / 31

Let's proceed to step 3:
When dividing 106 by 31, we get 3 with a remainder of 13.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we subtract 93 from 106, we get 13.
Fetch the next digit (6) from the dividend, attach it to 13 and continue: 136 / 31

Let's proceed to step 4:
31 goes into 136 4 times with a remainder of 12.
Use 4 as the next digit of our solution. 
Result so far: 34.0
Deduct 124 from 136 and we're left with 12.
Append the next digit (8) from the dividend to 12 and continue with: 128 / 31

Going ahead to step 5:
31 can be fit into 128 4 times, resulting in a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 344.0
Deduct 124 from 128 and we're left with 4.
Fetch the next digit (4) from the dividend, attach it to 4 and continue: 44 / 31

Let's proceed to step 6:
31 can be fit into 44 1 times, resulting in a remainder of 13.
Put 1 as the next digit of the answer. 
Result so far: 3441.0
The remainder is 13 after subtracting 31 from 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 7:
When dividing 130 by 31, we get 4 with a remainder of 6.
The next digit of our result is 4. 
Result so far: 3441.4
If we subtract 124 from 130, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
When dividing 60 by 31, we get 1 with a remainder of 29.
Put 1 as the next digit of the answer. 
Result so far: 3441.41
If we take 31 away from 60, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Step 9:
The number 31 fits into 290 9 times, leaving a remainder of 11.
Use 9 as the next digit of our solution. 
Result so far: 3441.419
If we take 279 away from 290, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 10:
The number 31 fits into 110 3 times, leaving a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 3441.4193
If we take 93 away from 110, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 11:
31 can be fit into 170 5 times, resulting in a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 3441.41935
Subtracting 155 from 170 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 12:
31 can be fit into 150 4 times, resulting in a remainder of 26.
The next digit of our result is 4. 
Result so far: 3441.419354
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.

On to step 13:
31 can be fit into 260 8 times, resulting in a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 3441.4193548
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.

Going ahead to step 14:
If we divide 120 by 31, we get 3 and a remainder of 27.
The number 3 becomes the next digit in our result. 
Result so far: 3441.41935483
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.

Our division results in 3441.41935483 with a remaining 2.7e-08.