def generate_pythagorean_triplet(m , n):
    """
    Generates pythagorean triplets from the given two integers

    Parameters
    ----------
    m : int
        denotes positive integer
    n : int
        denotes positive integer
    return : 3 int
        returns three positive integers
        
    """
    if(m<1 or m!=int(m) or n<1 or n!=int(n)):
        raise ValueError(
            "m and n must be positive integers"
        )
    if(m<=n):
        raise ValueError(
            "m must be greater than n"
        )
    a = 2*m*n
    b = (m**2) - (n**2)
    c = (m**2) + (n**2)
    return a,b,c