A = 1 + 24 + 28 + ...... + 22012 + 22016
24A = 24 + 28 + 212 + ..... + 22016 + 22020
24A - A = (24 + 28 + 212 + ..... + 22016 + 22020) - (1 + 24 + 28 + ...... + 22012 + 22016)
15A = 22010 - 1
\(\Rightarrow A=\frac{2^{2010}-1}{15}\)
B = 1 + 22 + 24 + ....... + 22016 + 22018
22B = 22 + 24 + 26 + ........ + 22018 + 22020
22B - B = (22 + 24 + 26 + ........ + 22018 + 22020) - (1 + 22 + 24 + ....... + 22016 + 22018)
3B = 22010 - 1
\(\Rightarrow B=\frac{2^{2010}-1}{3}\)
\(\Rightarrow\frac{A}{B}=\frac{\frac{2^{2010}-1}{15}}{\frac{2^{2010}-1}{3}}=\frac{\left(2^{2010}-1\right).\frac{1}{15}}{\left(2^{2010}-1\right).\frac{1}{3}}=\frac{\frac{1}{15}}{\frac{1}{3}}=\frac{\frac{1}{3}.\frac{1}{5}}{\frac{1}{3}}=\frac{1}{5}\)