title: Sum Of All Elements Up To Nth Row In A Pascals Triangle 1
signature: function sum_of_all_elements_up_to_nth_row_in_a_pascals_triangle_1(n)
source_py: def sum_of_all_elements_up_to_nth_row_in_a_pascals_triangle_1(n):
      sum = 0
      sum = (1 << n)
      return (sum - 1)
source_cpp: long long int sum_of_all_elements_up_to_nth_row_in_a_pascals_triangle_1(int n) {
    long long int sum = 0;
    sum = 1 << n;
    return ( sum - 1 );
  }