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

Let's proceed to step 1:
If we divide 3 by 31, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 31

Moving on to step 2:
31 can be fit into 37 1 times, resulting in a remainder of 6.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 31 from 37 leaves us with 6.
Include the next digit (0) from the dividend after 6, then repeat: 60 / 31

Step 3:
31 can be fit into 60 1 times, resulting in a remainder of 29.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Subtract 31 from 60 to get 29.
Include the next digit (4) from the dividend after 29, then repeat: 294 / 31

On to step 4:
31 can be fit into 294 9 times, resulting in a remainder of 15.
Use 9 as the next digit of our solution. 
Result so far: 119.0
If we take 279 away from 294, we end up with 15.
Append the next digit (6) from the dividend to 15 and continue with: 156 / 31

On to step 5:
The number 31 fits into 156 5 times, leaving a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 1195.0
Deduct 155 from 156 and we're left with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 31

Going ahead to step 6:
When dividing 16 by 31, we get 0 with a remainder of 16.
The number 0 becomes the next digit in our result. 
Result so far: 11950.0
Deduct 0 from 16 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 7:
If we divide 160 by 31, we get 5 and a remainder of 5.
The next digit of our result is 5. 
Result so far: 11950.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.

Step 8:
50 divided by 31 is 1 with a remainder of 19.
The next digit of our result is 1. 
Result so far: 11950.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:
31 goes into 190 6 times with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 11950.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.

Advancing to step 10:
31 goes into 40 1 times with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 11950.5161
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.

On to step 11:
31 goes into 90 2 times with a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 11950.51612
Subtract 62 from 90 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 12:
When dividing 280 by 31, we get 9 with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 11950.516129
Deduct 279 from 280 and we're left 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.

Advancing to step 13:
31 goes into 10 0 times with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 11950.516129
Deduct 0 from 10 and we're left 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.

Step 14:
31 can be fit into 100 3 times, resulting in a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 11950.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.

After the division, we end up with 11950.51612903 and a remainder of 7e-09.