377667 ÷ 31 
The aim is to understand the frequency of 31 in 377667.

Going ahead to step 1:
31 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 31

Step 2:
37 divided by 31 is 1 with a remainder of 6.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 31 from 37 leaves us with 6.
Fetch the next digit (7) from the dividend, attach it to 6 and continue: 67 / 31

Let's proceed to step 3:
31 can be fit into 67 2 times, resulting in a remainder of 5.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
If we take 62 away from 67, we end up with 5.
Bring next digit (6) of the dividend behind the 5 and repeat the process: 56 / 31

Step 4:
31 goes into 56 1 times with a remainder of 25.
Put 1 as the next digit of the answer. 
Result so far: 121.0
If we subtract 31 from 56, we get 25.
Bring next digit (6) of the dividend behind the 25 and repeat the process: 256 / 31

Advancing to step 5:
31 goes into 256 8 times with a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 1218.0
Subtract 248 from 256 to get 8.
Grab the next digit (7) from the dividend, add it to 8, then carry on: 87 / 31

Step 6:
The number 31 fits into 87 2 times, leaving a remainder of 25.
The next digit of our result is 2. 
Result so far: 12182.0
Deduct 62 from 87 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 7:
31 can be fit into 250 8 times, resulting in a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 12182.8
The remainder is 2 after subtracting 248 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 8:
If we divide 20 by 31, we get 0 and a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 12182.8
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
200 divided by 31 is 6 with a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 12182.806
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.

Let's proceed to step 10:
The number 31 fits into 140 4 times, leaving a remainder of 16.
The next digit of our result is 4. 
Result so far: 12182.8064
If we subtract 124 from 140, we 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 11:
When dividing 160 by 31, we get 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 12182.80645
The remainder is 5 after subtracting 155 from 160.
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 12:
When dividing 50 by 31, we get 1 with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 12182.806451
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.

Let's proceed to step 13:
190 divided by 31 is 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 12182.8064516
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.

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

The final outcome is 12182.80645161, with a leftover of 9e-09.