title: Find Sum Even Index Binomial Coefficients 1
signature: find_sum_even_index_binomial_coefficients_1 <- function(n) {
test_code: 
  
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  validate_solution <- function(actual, expected) {
      toString(actual)==toString(expected)
  }
  
  driver <- function(n, expected){
      if (validate_solution(PLACEHOLDER_FN_NAME(n), expected)){
          "PASSED"
      } else{
          "FAILED"
      }
  }
  
  main <- function() {
      cat(sprintf("TEST-0...%s\n",driver(
          56L, 
          36028797018963968L
      )))
  
      cat(sprintf("TEST-1...%s\n",driver(
          28L, 
          134217728L
      )))
  
      cat(sprintf("TEST-2...%s\n",driver(
          4L, 
          8L
      )))
  
      cat(sprintf("TEST-3...%s\n",driver(
          24L, 
          8388608L
      )))
  
      cat(sprintf("TEST-4...%s\n",driver(
          30L, 
          536870912L
      )))
  
      cat(sprintf("TEST-5...%s\n",driver(
          48L, 
          140737488355328L
      )))
  
      cat(sprintf("TEST-6...%s\n",driver(
          32L, 
          2147483648L
      )))
  
      cat(sprintf("TEST-7...%s\n",driver(
          13L, 
          4096L
      )))
  
      cat(sprintf("TEST-8...%s\n",driver(
          19L, 
          262144L
      )))
  
  }
  
  main()
source_py: def find_sum_even_index_binomial_coefficients_1(n):
      return (1 << (n - 1))
source_cpp: int find_sum_even_index_binomial_coefficients_1(int n) {
    return ( 1 << ( n - 1 ) );
  }