import math


def ramanujan_hardy_asymptotic(n):
    """
    Returns the value of Ramanujan-Hardy asymptotic formula for the number of partitions p(n) of n (for large n).

    Parameters
    ----------
    n : int 
        denotes positive integer
    return : int
        returns an integer denoting asymptotic value of p(n)

    """
    if(n != int(n)):
        raise ValueError(
            "n must be integer"
        )
    
    return int((1/(4*n*math.sqrt(3)))*math.exp(math.sqrt(2*n/3)))