Regrouping the series as 1, 2, 4, 8, 16, 32, 64, 128, and 256, the next two terms in this series are 512 and 1024. The answer to the question is 5121.