(i) 12, 15 and 21
12 = 2 × 2 × 3 = 22 × 3
15 = 3 × 5
and 21 = 3 × 7
For HCF, we find minimum power of prime factor
H.C.F. = (3)1 = 3
For LCM, taking maximum power of prime factors
L.C.M. = 22 × 3 × 5 × 7 = 4 × 3 × 5 × 7 = 420
So H.C.F. = 3
L.C.M. = 420
(ii) 24, 15 and 36
24 = 2 × 2 × 2 × 3 = 23 × 3
15 =3 × 5
and 36 = 2 × 2 × 3 × 3 = 22 × 32
For HCF, taking minimum power of common prime factor
H.C.F. = (3)1 = 3
For LCM, taking maximum power of prime factor
L.C.M. = 23 × 32 × 51 = 8 × 9 × 5 = 360
So H.C.F. = 3
L.C.M. = 360
(iii) 17, 23 and 29
17 = 1 × 17
23 = 1 × 23
and 29 = 1 × 29
For HCF, common factor is 1
HCF = 1
For LCM taking maximum power of prime factor.
L.C.M. = 1 × 17 × 23 × 29 = 11339
So H.C.F. = 1
L.C.M. = 11339
(iv) 6, 72 and 120
6 = 2 × 3
72 = 2 × 2 × 2 × 3 × 3
= 23 × 32
and 120 = 2 × 2 × 2 × 3 × 5
= 23 × 3 × 5
For HCF, taking minimum power of common prime factor
HCF = 2 × 3
For LCM taking maximum power of prime factor
L.C.M. = 23 × 32 × 5 = 8 × 9 × 5 = 360
So H.C.F. = 6
L.C.M. = 360
(v) 40, 36 and 126
8 = 2 × 2 × 2 = 23
9 = 3 × 3 = 32
and 25 = 5 × 5 = 52
For HCF common factor is 1
H.C.F. = 1
For LCM, taking maximum power of prime factors
L.C.M. = 23 × 32 × 52
= 8 × 9 × 25 = 1800
So H.C.F. = 1
L.C.M. = 1800