Find a and n such that:

8+16+32+64+128 (k=a)

a=?
n=?

7

∑ 2^k
k=3

It appears that a=3,n=5 but that's hard to say, since you provide so little data on their relevance.