The first term of a given sequence is 1, and each successive term is the sum of all the previous terms of the sequence. What is the value of the first term which exceeds 5000?

Recurrence relation: a(n + 1) = 2 a(n) (for all n>=1) 1, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192.........etc. Now, you can see the answer for yourself.