
    Write a function that determines how many unique maintenance alert patterns will trigger emergency servicing when rotating a vehicle's diagnostic status code through n operational phases, where an alert is triggered if the binary diagnostic pattern converts to an odd decimal value. The diagnostic code is represented as a binary string where each bit indicates the status of different vehicle components (0 for normal operation, 1 for maintenance needed), and the rotations simulate how the maintenance needs might manifest across different operational phases.
    

    
def odd_Equivalent(s, n):
    """
    Write a function that determines how many unique maintenance alert patterns will trigger emergency servicing when rotating a vehicle's diagnostic status code through n operational phases, where an alert is triggered if the binary diagnostic pattern converts to an odd decimal value. The diagnostic code is represented as a binary string where each bit indicates the status of different vehicle components (0 for normal operation, 1 for maintenance needed), and the rotations simulate how the maintenance needs might manifest across different operational phases.
    

    """
def odd_Equivalent(s, n):
    """
    Write a function that determines how many unique maintenance alert patterns will trigger emergency servicing when rotating a vehicle's diagnostic status code through n operational phases, where an alert is triggered if the binary diagnostic pattern converts to an odd decimal value. The diagnostic code is represented as a binary string where each bit indicates the status of different vehicle components (0 for normal operation, 1 for maintenance needed), and the rotations simulate how the maintenance needs might manifest across different operational phases.
    

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