def a(n, alpha, beta, x):
    """The leading term of the recurrence relation from Wikipedia, * P_n^(a,b)."""
    term1 = 2 * n
    term2 = n + alpha + beta
    term3 = 2 * n + alpha + beta - 2
    return term1 * term2 * term3
