A double or nothing machine is where you place in one token, and on your next turn you either double your token or lose it with a probability of p, you can then repeat this until your final bet is 64 tokens.
At what p is the player losing to the machine? What are the chances of winning your money back?