import math


def pi_unscaled_term(k):
    """Compute the kth term of the sequence, before being scaled
    by 2*sqrt(2)/9801
    """
    numerator = math.factorial(4*k)*(1103+26390*k)
    denominator = math.factorial(k)**4*396**(4*k)
    return numerator/denominator