
    Write a function that determines how many different fraud detection states yield suspicious patterns when rotating a sequence of security check results through n verification cycles, where a suspicious pattern is defined by an odd numeric value of the rotated sequence. Each security check result is represented as a binary flag (1 for pass, 0 for fail) in the sequence, and each rotation represents adjusting the analysis window for different time zones.
    

    
def odd_Equivalent(s, n):
    """
    Write a function that determines how many different fraud detection states yield suspicious patterns when rotating a sequence of security check results through n verification cycles, where a suspicious pattern is defined by an odd numeric value of the rotated sequence. Each security check result is represented as a binary flag (1 for pass, 0 for fail) in the sequence, and each rotation represents adjusting the analysis window for different time zones.
    

    """
def odd_Equivalent(s, n):
    """
    Write a function that determines how many different fraud detection states yield suspicious patterns when rotating a sequence of security check results through n verification cycles, where a suspicious pattern is defined by an odd numeric value of the rotated sequence. Each security check result is represented as a binary flag (1 for pass, 0 for fail) in the sequence, and each rotation represents adjusting the analysis window for different time zones.
    

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