C = 1 + 2 + 4 + 8 + ... + 1024
2 x C = 2 + 4 + 8 + ... + 1024 + 2048
2 x C - C = C = (2 + 4 + 8 + ... + 1024 + 2048) - (1 + 2 + 4 + 8 + ... + 1024) = 2048 - 1 = 2047
D = 1 + 3 + 9 + 27 + ... + 2187
3 x D = 3 + 9 + 27 + ... + 2187 + 6561
3 x D - D = 2 x D = (3 + 9 + 27 + ... + 2187 + 6561) - (1 + 3 + 9 + 27 + ... + 2187) = 6561 - 1 = 6560
D = 6560 : 2 = 3280