What is the next number? 128

What is the gth term

256

Give the pattern​