Let's divide 314318 by 24
The aim is to understand the frequency of 24 in 314318.

On to step 1:
When dividing 3 by 24, we get 0 with 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.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 24

Going ahead to step 2:
When dividing 31 by 24, we get 1 with a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 24 from 31 to get 7.
Grab the next digit (4) from the dividend, add it to 7, then carry on: 74 / 24

Going ahead to step 3:
24 can be fit into 74 3 times, resulting in a remainder of 2.
The next digit of our result is 3. 
Result so far: 13.0
Deduct 72 from 74 and we're left with 2.
Grab the next digit (3) from the dividend, add it to 2, then carry on: 23 / 24

Step 4:
The number 24 fits into 23 0 times, leaving a remainder of 23.
Use 0 as the next digit of our solution. 
Result so far: 130.0
The remainder is 23 after subtracting 0 from 23.
Take the next digit (1) from the dividend and append it to 23, then repeat: 231 / 24

Advancing to step 5:
The number 24 fits into 231 9 times, leaving a remainder of 15.
Put 9 as the next digit of the answer. 
Result so far: 1309.0
Deduct 216 from 231 and we're left with 15.
Include the next digit (8) from the dividend after 15, then repeat: 158 / 24

Moving on to step 6:
24 can be fit into 158 6 times, resulting in a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 13096.0
If we subtract 144 from 158, 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.

Going ahead to step 7:
24 can be fit into 140 5 times, resulting in a remainder of 20.
The next digit of our result is 5. 
Result so far: 13096.5
If we take 120 away from 140, we end up 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.

Let's proceed to step 8:
24 goes into 200 8 times with a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 13096.58
The remainder is 8 after subtracting 192 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 9:
24 can be fit into 80 3 times, resulting in a remainder of 8.
The number 3 becomes the next digit in our result. 
Result so far: 13096.583
Subtracting 72 from 80 leaves us 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.

Advancing to step 10:
When dividing 80 by 24, we get 3 with a remainder of 8.
The number 3 becomes the next digit in our result. 
Result so far: 13096.5833
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.

The final result is 13096.5833 with a remainder of 8e-05.