A=1+2+2^2+2^3+....+2^9
2A=2+2^2+2^3+....+2^10
2A-A=2^10-1
A=2^10-1/2
B=5.2^8=(2^2+1).2^8=2^10+2^8
=>B>A
2A = 2(1 + 2 + 22 + .... + 29 )
= 2 + 22 + 23 + ..... + 210
2A - A = (2 + 22 + 23 + ..... + 210) - (1 + 2 + 22 + .... + 29 )
A = 210 - 1
B = 5.28 = (22 + 1).28 = 210 + 28
210 - 1 < 210 + 28
=> A < B