def get_mu_tilda(x_i, r, n):
    """Calculates the conditional descendant normal distribution *expectation*
    for generation-gap n.

    Latex equation:
    tilde{\mu}_{i+n} = r^n X_i
    (See the paper for the derivation.)"""

    return (r**n) * x_i