The prime factors of 20 are 1x 2x 2 x5
The prime factors of 34 are 1x 2 x 17
Here, 2 is the common factor obtained from both numbers. Hence, the HCF of 20 and 34 is 2.