397667 divided by 24 
The aim is to understand the frequency of 24 in 397667.

Going ahead to step 1:
The number 24 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 24

Going ahead to step 2:
24 goes into 39 1 times with a remainder of 15.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 24 from 39 leaves us with 15.
Fetch the next digit (7) from the dividend, attach it to 15 and continue: 157 / 24

On to step 3:
157 divided by 24 is 6 with a remainder of 13.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
Subtract 144 from 157 to get 13.
Append the next digit (6) from the dividend to 13 and continue with: 136 / 24

Moving on to step 4:
When dividing 136 by 24, we get 5 with a remainder of 16.
Put 5 as the next digit of the answer. 
Result so far: 165.0
If we take 120 away from 136, we end up with 16.
Grab the next digit (6) from the dividend, add it to 16, then carry on: 166 / 24

Going ahead to step 5:
The number 24 fits into 166 6 times, leaving a remainder of 22.
Put 6 as the next digit of the answer. 
Result so far: 1656.0
The remainder is 22 after subtracting 144 from 166.
Append the next digit (7) from the dividend to 22 and continue with: 227 / 24

Going ahead to step 6:
The number 24 fits into 227 9 times, leaving a remainder of 11.
Put 9 as the next digit of the answer. 
Result so far: 16569.0
Deduct 216 from 227 and we're left 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.

On to step 7:
When dividing 110 by 24, we get 4 with a remainder of 14.
Use 4 as the next digit of our solution. 
Result so far: 16569.4
If we take 96 away from 110, we end up with 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 8:
140 divided by 24 is 5 with a remainder of 20.
The number 5 becomes the next digit in our result. 
Result so far: 16569.45
Deduct 120 from 140 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 9:
24 goes into 200 8 times with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 16569.458
Deduct 192 from 200 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 10:
The number 24 fits into 80 3 times, leaving a remainder of 8.
Put 3 as the next digit of the answer. 
Result so far: 16569.4583
The remainder is 8 after subtracting 72 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 11:
80 divided by 24 is 3 with a remainder of 8.
Write down 3 as next digit of the result. 
Result so far: 16569.45833
If we take 72 away from 80, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

In conclusion, the division gives 16569.45833 with a balance of 8e-06.