Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 4500 articles have referenced us, often saying "we would not have discovered this result without the OEIS".
A007013
a(0) = 2; for n >= 0, a(n+1) = 2^a(n) - 1.
(Formerly M0866)