
    Develop a feature for the friend recommendation system that determines if two users have similar engagement patterns by checking whether the sum of their activity cluster metrics are equal, where each user's activity clusters are represented by the divisors of their total interaction count. For example, if User A has 28 total interactions (with divisors 1,2,4,7,14,28 summing to 56) and User B has 40 total interactions (with divisors 1,2,4,5,8,10,20,40 summing to 90), they would not be considered to have matching engagement patterns.
    

    
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):
    """
    Develop a feature for the friend recommendation system that determines if two users have similar engagement patterns by checking whether the sum of their activity cluster metrics are equal, where each user's activity clusters are represented by the divisors of their total interaction count. For example, if User A has 28 total interactions (with divisors 1,2,4,7,14,28 summing to 56) and User B has 40 total interactions (with divisors 1,2,4,5,8,10,20,40 summing to 90), they would not be considered to have matching engagement patterns.
    

    """
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):
    """
    Develop a feature for the friend recommendation system that determines if two users have similar engagement patterns by checking whether the sum of their activity cluster metrics are equal, where each user's activity clusters are represented by the divisors of their total interaction count. For example, if User A has 28 total interactions (with divisors 1,2,4,7,14,28 summing to 56) and User B has 40 total interactions (with divisors 1,2,4,5,8,10,20,40 summing to 90), they would not be considered to have matching engagement patterns.
    

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