
    Write a function to detect potentially coordinated banking activities by comparing whether two transaction amounts have matching patterns based on the sum of their sub-transaction values, where sub-transactions are represented by all possible divisors of each amount. Given two transaction amounts from different accounts, determine if the sum of all possible sub-transaction values (divisors) are identical, which could indicate suspicious coordinated banking activity.
    

    
import math

def div_sum(n):
    total = 1
    i = 2
    while i * i <= n:
        if n % i == 0:
            total = total + i + math.floor(n / i)
        i += 1
    return total

def are_equivalent(num1, num2):
    """
    Write a function to detect potentially coordinated banking activities by comparing whether two transaction amounts have matching patterns based on the sum of their sub-transaction values, where sub-transactions are represented by all possible divisors of each amount. Given two transaction amounts from different accounts, determine if the sum of all possible sub-transaction values (divisors) are identical, which could indicate suspicious coordinated banking activity.
    

    """
import math

def div_sum(n):
    total = 1
    i = 2
    while i * i <= n:
        if n % i == 0:
            total = total + i + math.floor(n / i)
        i += 1
    return total

def are_equivalent(num1, num2):
    """
    Write a function to detect potentially coordinated banking activities by comparing whether two transaction amounts have matching patterns based on the sum of their sub-transaction values, where sub-transactions are represented by all possible divisors of each amount. Given two transaction amounts from different accounts, determine if the sum of all possible sub-transaction values (divisors) are identical, which could indicate suspicious coordinated banking activity.
    

    """
    return div_sum(num1) == div_sum(num2)