#include<bits/stdc++.h> using namespace std; int main() { int n=1,x=1; cout<<n; for(int i=2;i<=30;i++){ x=x*2; n=n+x; cout<<" "<<n; } return 0; }