a) S = 30 + 32 + 34 + ..... + 32002
9S = 32 + 34 + ..... + 32002 + 32004
9S - S = (32 + 34 + ..... + 32002 + 32004) - (30 + 32 + 34 + ..... + 32002)
8S = 32004 - 30
S = \(\frac{3^{2004}-1}{8}\)
b) S = 30 + 32 + 34 + ..... + 32002
S = (30 + 32 + 34) + (36 + 38 + 310) + ..... + (32000 + 32001 + 32002)
S = (1 + 9 + 81) + 36.(1 + 9 + 81) + ..... + 32000.(1 + 9 + 81)
S = 91 + 36 . 91 + ...... + 32000 . 91
S = 91 . (1 + 36 + ...... + 32000)
S = 7 . 13 . (1 + 36 + ...... + 32000)