What is the hcf of 2024?

If you are talking of 20 and 24 then factor both to prime factors.

20=2x2x5

24=2x2x2x3

circle the common ones. 2x2=4

the greatest common factor.