#include<iostream> using namespace std; int x=0; int a(int n){ if(n==1){ return 1; } else{ return (a(n-1)+1)*2; } } int main(){ cout<<a(10); }