I don't understand your setup. You have a1=a. What is 'a'? Your equation for an doesn't include 'a' at all, so how can it possibly produce a1=a?
Your equation is
an = [ {(-0.5)^n} - 1]p
Remember your order of operations.
Clean things up and walk through how you got your answer. Remember, it doesn't matter if you are right or wrong, what is important is that you show some work that will let us start to understand your reasoning process so that we can spot where you are going right and where you are going astray.
Now how about the part about showing how you got the answer you did so that we have something to start with.
If nothing else, make some observations about how the series (and it is a geometric series, not a geometric progression, BTW) is similar and how it is different from other geometric series you have dealt with.
Well, I noticed that I have [(-0.5)^n-1]P by observing the elements. As for the other part I noticed having 1+something (except in a1) and each ime i have addition of (-0.5).