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

Moving on to step 1:
24 can be fit into 8 0 times, resulting in a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Grab the next digit (7) from the dividend, add it to 8, then carry on: 87 / 24

Going ahead to step 2:
If we divide 87 by 24, we get 3 and a remainder of 15.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtracting 72 from 87 leaves us with 15.
Include the next digit (0) from the dividend after 15, then repeat: 150 / 24

Going ahead to step 3:
When dividing 150 by 24, we get 6 with a remainder of 6.
Record the quotient 6 as the next digit in the result. 
Result so far: 36.0
If we subtract 144 from 150, we get 6.
Bring next digit (5) of the dividend behind the 6 and repeat the process: 65 / 24

On to step 4:
24 goes into 65 2 times with a remainder of 17.
Record the quotient 2 as the next digit in the result. 
Result so far: 362.0
If we take 48 away from 65, we end up with 17.
Fetch the next digit (5) from the dividend, attach it to 17 and continue: 175 / 24

Going ahead to step 5:
If we divide 175 by 24, we get 7 and a remainder of 7.
Put 7 as the next digit of the answer. 
Result so far: 3627.0
Deduct 168 from 175 and we're left with 7.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 24

Let's proceed to step 6:
When dividing 78 by 24, we get 3 with a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 36273.0
If we take 72 away from 78, we end up 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.

Advancing to step 7:
The number 24 fits into 60 2 times, leaving a remainder of 12.
The number 2 becomes the next digit in our result. 
Result so far: 36273.2
If we subtract 48 from 60, we get 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 8:
If we divide 120 by 24, we get 5 and a remainder of 0.
The next digit of our result is 5. 
Result so far: 36273.25
Subtract 120 from 120 to 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.

Step 9:
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: 36273.25
Deduct 0 from 0 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.

On to step 10:
24 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 36273.25
Subtracting 0 from 0 leaves us 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.

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