System.out.println(i + power(i, n-1));System.out.print(geometric(n-1) + power(2,n));return geometric(n-1) + power(2,n);