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

Step 1:
The number 24 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (9) from the dividend, add it to 5, then carry on: 59 / 24

On to step 2:
24 can be fit into 59 2 times, resulting in a remainder of 11.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 11 after subtracting 48 from 59.
Grab the next digit (4) from the dividend, add it to 11, then carry on: 114 / 24

Let's proceed to step 3:
114 divided by 24 is 4 with a remainder of 18.
Record the quotient 4 as the next digit in the result. 
Result so far: 24.0
If we subtract 96 from 114, we get 18.
Append the next digit (8) from the dividend to 18 and continue with: 188 / 24

Moving on to step 4:
24 can be fit into 188 7 times, resulting in a remainder of 20.
Put 7 as the next digit of the answer. 
Result so far: 247.0
Subtract 168 from 188 to get 20.
Append the next digit (7) from the dividend to 20 and continue with: 207 / 24

Let's proceed to step 5:
The number 24 fits into 207 8 times, leaving a remainder of 15.
Write down 8 as next digit of the result. 
Result so far: 2478.0
The remainder is 15 after subtracting 192 from 207.
Bring next digit (8) of the dividend behind the 15 and repeat the process: 158 / 24

Step 6:
The number 24 fits into 158 6 times, leaving a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 24786.0
Subtracting 144 from 158 leaves us 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.

Moving on to step 7:
24 goes into 140 5 times with a remainder of 20.
Use 5 as the next digit of our solution. 
Result so far: 24786.5
Subtracting 120 from 140 leaves us 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:
When dividing 200 by 24, we get 8 with a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 24786.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.

Going ahead to step 9:
24 goes into 80 3 times with a remainder of 8.
Put 3 as the next digit of the answer. 
Result so far: 24786.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:
If we divide 80 by 24, we get 3 and a remainder of 8.
Use 3 as the next digit of our solution. 
Result so far: 24786.5833
Subtract 72 from 80 to 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.

The final outcome is 24786.5833, with a leftover of 8e-05.