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

Advancing to step 1:
When dividing 5 by 24, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (9) of the dividend behind the 5 and repeat the process: 59 / 24

Going ahead to step 2:
If we divide 59 by 24, we get 2 and a remainder of 11.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 48 from 59 leaves us with 11.
Fetch the next digit (7) from the dividend, attach it to 11 and continue: 117 / 24

Advancing to step 3:
24 can be fit into 117 4 times, resulting in a remainder of 21.
Record the quotient 4 as the next digit in the result. 
Result so far: 24.0
Deduct 96 from 117 and we're left with 21.
Include the next digit (0) from the dividend after 21, then repeat: 210 / 24

On to step 4:
24 can be fit into 210 8 times, resulting in a remainder of 18.
Put 8 as the next digit of the answer. 
Result so far: 248.0
Subtract 192 from 210 to get 18.
Append the next digit (4) from the dividend to 18 and continue with: 184 / 24

Let's proceed to step 5:
184 divided by 24 is 7 with a remainder of 16.
Write down 7 as next digit of the result. 
Result so far: 2487.0
If we take 168 away from 184, we end up with 16.
Bring next digit (6) of the dividend behind the 16 and repeat the process: 166 / 24

Moving on to step 6:
If we divide 166 by 24, we get 6 and a remainder of 22.
Put 6 as the next digit of the answer. 
Result so far: 24876.0
Subtracting 144 from 166 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 7:
24 can be fit into 220 9 times, resulting in a remainder of 4.
The number 9 becomes the next digit in our result. 
Result so far: 24876.9
The remainder is 4 after subtracting 216 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 8:
When dividing 40 by 24, we get 1 with a remainder of 16.
Put 1 as the next digit of the answer. 
Result so far: 24876.91
Subtract 24 from 40 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 9:
If we divide 160 by 24, we get 6 and a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 24876.916
The remainder is 16 after subtracting 144 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 10:
24 can be fit into 160 6 times, resulting in a remainder of 16.
The number 6 becomes the next digit in our result. 
Result so far: 24876.9166
Deduct 144 from 160 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

After the division, we end up with 24876.9166 and a remainder of 0.00016.