Take common primes to lowest power. HCF(24,36)=22⋅3=12(24,36)=2^2\cdot 3=12(24,36)=22⋅3=12. Or use Euclid's division method.