
    Design a portfolio optimization algorithm that calculates the total number of viable investment combinations for an investor with a given risk tolerance level n by summing only the balanced risk-reward patterns in the portfolio distribution. The balanced patterns are determined by the even-indexed positions in the investment combination sequence, where each combination value is calculated using the binomial coefficient formula. The resulting sum represents the number of recommended balanced investment strategies available to the investor.
    

    
import math

def even_binomial_Coeff_Sum(n):
    """
    Design a portfolio optimization algorithm that calculates the total number of viable investment combinations for an investor with a given risk tolerance level n by summing only the balanced risk-reward patterns in the portfolio distribution. The balanced patterns are determined by the even-indexed positions in the investment combination sequence, where each combination value is calculated using the binomial coefficient formula. The resulting sum represents the number of recommended balanced investment strategies available to the investor.
    

    """
import math

def even_binomial_Coeff_Sum(n):
    """
    Design a portfolio optimization algorithm that calculates the total number of viable investment combinations for an investor with a given risk tolerance level n by summing only the balanced risk-reward patterns in the portfolio distribution. The balanced patterns are determined by the even-indexed positions in the investment combination sequence, where each combination value is calculated using the binomial coefficient formula. The resulting sum represents the number of recommended balanced investment strategies available to the investor.
    

    """
    return 1 << n - 1