went to market with a whole crop of pumpkins which I had grown in my pumpkin patch. I sold half of them plus half a pumpkin, and found that I had one whole pumpkin left. How many pumpkins did I take to the market?

Let p=initial number of pumpkins.

p - (p/2+1/2) = 1
Solve for p