
    Write a function that determines how many unique risk states occur when analyzing a patient's vital sign pattern over specified monitoring intervals, where the pattern rotates through each time period and each rotation represents a potential risk state (odd binary value indicates a risk state). The vital sign pattern is represented as a binary sequence where 1 indicates an abnormal reading and 0 indicates a normal reading, and the function should analyze the pattern for a given number of time intervals.
    

    
def odd_Equivalent(s, n):
    """
    Write a function that determines how many unique risk states occur when analyzing a patient's vital sign pattern over specified monitoring intervals, where the pattern rotates through each time period and each rotation represents a potential risk state (odd binary value indicates a risk state). The vital sign pattern is represented as a binary sequence where 1 indicates an abnormal reading and 0 indicates a normal reading, and the function should analyze the pattern for a given number of time intervals.
    

    """
def odd_Equivalent(s, n):
    """
    Write a function that determines how many unique risk states occur when analyzing a patient's vital sign pattern over specified monitoring intervals, where the pattern rotates through each time period and each rotation represents a potential risk state (odd binary value indicates a risk state). The vital sign pattern is represented as a binary sequence where 1 indicates an abnormal reading and 0 indicates a normal reading, and the function should analyze the pattern for a given number of time intervals.
    

    """
    count = 0
    for i in range(0, n):
        if s[i] == '1':
            count = count + 1
    return count