
    Design a function for a bank's fraud detection system that analyzes a sequence of transaction flags (represented as a binary string) to determine how many different rotated patterns would trigger a fraud alert when the sum of suspicious activities is odd. The function should process the binary pattern through n monitoring cycles, where each cycle rotates the pattern by one position, and count patterns that indicate an odd number of suspicious transactions.
    

    
def odd_Equivalent(s, n):
    """
    Design a function for a bank's fraud detection system that analyzes a sequence of transaction flags (represented as a binary string) to determine how many different rotated patterns would trigger a fraud alert when the sum of suspicious activities is odd. The function should process the binary pattern through n monitoring cycles, where each cycle rotates the pattern by one position, and count patterns that indicate an odd number of suspicious transactions.
    

    """
def odd_Equivalent(s, n):
    """
    Design a function for a bank's fraud detection system that analyzes a sequence of transaction flags (represented as a binary string) to determine how many different rotated patterns would trigger a fraud alert when the sum of suspicious activities is odd. The function should process the binary pattern through n monitoring cycles, where each cycle rotates the pattern by one position, and count patterns that indicate an odd number of suspicious transactions.
    

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