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

Moving on to step 1:
4 divided by 31 is 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 31

Advancing to step 2:
31 goes into 40 1 times with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 9 after subtracting 31 from 40.
Fetch the next digit (8) from the dividend, attach it to 9 and continue: 98 / 31

Moving on to step 3:
31 can be fit into 98 3 times, resulting in a remainder of 5.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
Subtract 93 from 98 to get 5.
Fetch the next digit (2) from the dividend, attach it to 5 and continue: 52 / 31

Moving on to step 4:
If we divide 52 by 31, we get 1 and a remainder of 21.
Write down 1 as next digit of the result. 
Result so far: 131.0
If we subtract 31 from 52, we get 21.
Grab the next digit (6) from the dividend, add it to 21, then carry on: 216 / 31

On to step 5:
31 can be fit into 216 6 times, resulting in a remainder of 30.
The next digit of our result is 6. 
Result so far: 1316.0
If we take 186 away from 216, we end up with 30.
Append the next digit (7) from the dividend to 30 and continue with: 307 / 31

Let's proceed to step 6:
307 divided by 31 is 9 with a remainder of 28.
The next digit of our result is 9. 
Result so far: 13169.0
If we subtract 279 from 307, we 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.

Advancing to step 7:
The number 31 fits into 280 9 times, leaving a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 13169.9
Subtracting 279 from 280 leaves us 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 8:
31 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 13169.9
The remainder is 10 after subtracting 0 from 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 9:
When dividing 100 by 31, we get 3 with a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 13169.903
Subtracting 93 from 100 leaves us 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.

Advancing to step 10:
31 goes into 70 2 times with a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 13169.9032
If we subtract 62 from 70, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 11:
31 can be fit into 80 2 times, resulting in a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 13169.90322
If we subtract 62 from 80, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

In conclusion, the division gives 13169.90322 with a balance of 1.8e-05.