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

Let's proceed to step 1:
If we divide 3 by 24, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 24

Going ahead to step 2:
24 can be fit into 33 1 times, resulting in a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 24 from 33 leaves us with 9.
Include the next digit (6) from the dividend after 9, then repeat: 96 / 24

Going ahead to step 3:
When dividing 96 by 24, we get 4 with a remainder of 0.
The next digit of our result is 4. 
Result so far: 14.0
If we take 96 away from 96, we end up with 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 24

Step 4:
8 divided by 24 is 0 with a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 140.0
Deduct 0 from 8 and we're left with 8.
Grab the next digit (4) from the dividend, add it to 8, then carry on: 84 / 24

On to step 5:
When dividing 84 by 24, we get 3 with a remainder of 12.
Put 3 as the next digit of the answer. 
Result so far: 1403.0
Deduct 72 from 84 and we're left with 12.
Take the next digit (3) from the dividend and append it to 12, then repeat: 123 / 24

Moving on to step 6:
24 can be fit into 123 5 times, resulting in a remainder of 3.
The number 5 becomes the next digit in our result. 
Result so far: 14035.0
If we subtract 120 from 123, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
30 divided by 24 is 1 with a remainder of 6.
Write down 1 as next digit of the result. 
Result so far: 14035.1
Subtracting 24 from 30 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 8:
24 goes into 60 2 times with a remainder of 12.
The number 2 becomes the next digit in our result. 
Result so far: 14035.12
Deduct 48 from 60 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 9:
The number 24 fits into 120 5 times, leaving a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 14035.125
Deduct 120 from 120 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 10:
The number 24 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 14035.125
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 11:
The number 24 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 14035.125
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 14035.125 and a remainder of 0.0.