A = 1/2 + 1/4 + 1/8 + 1/16 + ... + 1/512 + 1/1024
A x 2 = 1 + 1/2 + 1/4 + 1/8 + 1/16 + ... + 1/512
A x 2 - A = 1 + 1/2 - 1/2+ 1/4 -1/4 + 1/8 -1/8 + 1/16 -1/16 + ... + 1/512 - 1/512 - 1/1024
A = 1 - 1/1024
A = 1023/1024
A = 1/2 + 1/4 + 1/8 + 1/16 + ... + 1/512 + 1/1024
A x 2 = 1 + 1/2 + 1/4 + 1/8 + 1/16 + ... + 1/512
A x 2 - A = 1 + 1/2 - 1/2+ 1/4 -1/4 + 1/8 -1/8 + 1/16 -1/16 + ... + 1/512 - 1/512 - 1/1024
A = 1 - 1/1024
A = 1023/1024