
    Design a fraud detection function that analyzes a sequence of transaction flags (represented as binary values) to determine how many different time-window variations contain an odd number of suspicious transactions. The function should examine the original sequence and all possible rotated patterns up to the specified number of shifts, where each rotation represents a different temporal view of the transaction pattern.
    

    
def odd_Equivalent(s, n):
    """
    Design a fraud detection function that analyzes a sequence of transaction flags (represented as binary values) to determine how many different time-window variations contain an odd number of suspicious transactions. The function should examine the original sequence and all possible rotated patterns up to the specified number of shifts, where each rotation represents a different temporal view of the transaction pattern.
    

    """
def odd_Equivalent(s, n):
    """
    Design a fraud detection function that analyzes a sequence of transaction flags (represented as binary values) to determine how many different time-window variations contain an odd number of suspicious transactions. The function should examine the original sequence and all possible rotated patterns up to the specified number of shifts, where each rotation represents a different temporal view of the transaction pattern.
    

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