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

Going ahead to step 1:
The number 31 fits into 6 0 times, leaving a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Take the next digit (8) from the dividend and append it to 6, then repeat: 68 / 31

Let's proceed to step 2:
The number 31 fits into 68 2 times, leaving a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Deduct 62 from 68 and we're left with 6.
Append the next digit (3) from the dividend to 6 and continue with: 63 / 31

Step 3:
31 can be fit into 63 2 times, resulting in a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 22.0
Deduct 62 from 63 and we're left with 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 31

Going ahead to step 4:
18 divided by 31 is 0 with a remainder of 18.
Record the quotient 0 as the next digit in the result. 
Result so far: 220.0
Deduct 0 from 18 and we're left with 18.
Append the next digit (5) from the dividend to 18 and continue with: 185 / 31

Moving on to step 5:
When dividing 185 by 31, we get 5 with a remainder of 30.
Write down 5 as next digit of the result. 
Result so far: 2205.0
If we take 155 away from 185, we end up with 30.
Include the next digit (5) from the dividend after 30, then repeat: 305 / 31

Advancing to step 6:
305 divided by 31 is 9 with a remainder of 26.
Put 9 as the next digit of the answer. 
Result so far: 22059.0
If we take 279 away from 305, we end up with 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 7:
31 can be fit into 260 8 times, resulting in a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 22059.8
Deduct 248 from 260 and we're left 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.

Advancing to step 8:
120 divided by 31 is 3 with a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 22059.83
Subtracting 93 from 120 leaves us 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.

On to step 9:
270 divided by 31 is 8 with a remainder of 22.
Record the quotient 8 as the next digit in the result. 
Result so far: 22059.838
Subtract 248 from 270 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 10:
220 divided by 31 is 7 with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 22059.8387
Subtracting 217 from 220 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 11:
31 goes into 30 0 times with a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 22059.8387
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

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

Going ahead to step 13:
210 divided by 31 is 6 with a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 22059.8387096
Subtract 186 from 210 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 14:
The number 31 fits into 240 7 times, leaving a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 22059.83870967
If we take 217 away from 240, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

The final outcome is 22059.83870967, with a leftover of 2.3e-08.