We look at the division of 867710 by 24 
The aim is to understand the frequency of 24 in 867710.

On to step 1:
8 divided by 24 is 0 with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Include the next digit (6) from the dividend after 8, then repeat: 86 / 24

Advancing to step 2:
24 goes into 86 3 times with a remainder of 14.
The next digit of our result is 3. 
Result so far: 3.0
If we subtract 72 from 86, we get 14.
Take the next digit (7) from the dividend and append it to 14, then repeat: 147 / 24

Advancing to step 3:
If we divide 147 by 24, we get 6 and a remainder of 3.
Use 6 as the next digit of our solution. 
Result so far: 36.0
The remainder is 3 after subtracting 144 from 147.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 24

Moving on to step 4:
24 can be fit into 37 1 times, resulting in a remainder of 13.
The next digit of our result is 1. 
Result so far: 361.0
The remainder is 13 after subtracting 24 from 37.
Grab the next digit (1) from the dividend, add it to 13, then carry on: 131 / 24

Moving on to step 5:
24 goes into 131 5 times with a remainder of 11.
Use 5 as the next digit of our solution. 
Result so far: 3615.0
Subtracting 120 from 131 leaves us with 11.
Take the next digit (0) from the dividend and append it to 11, then repeat: 110 / 24

Step 6:
110 divided by 24 is 4 with a remainder of 14.
Put 4 as the next digit of the answer. 
Result so far: 36154.0
Deduct 96 from 110 and we're left 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.

Going ahead to step 7:
The number 24 fits into 140 5 times, leaving a remainder of 20.
The next digit of our result is 5. 
Result so far: 36154.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.

On to step 8:
200 divided by 24 is 8 with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 36154.58
If we subtract 192 from 200, 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.

On to step 9:
If we divide 80 by 24, we get 3 and a remainder of 8.
Record the quotient 3 as the next digit in the result. 
Result so far: 36154.583
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.

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: 36154.5833
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.

After the division, we end up with 36154.5833 and a remainder of 8e-05.