a mysterious economist approaches you, offering a bet

flip a  n times until it comes up heads

if 2|n, you pay 2^n / n dollars, whereas if 2~|n the economist pays you 2^n / n dollars

how much do you play for?