def R0_from_K(K, gamma, sigma) -> float:
    """
    Return R0 from the exponential growth factor K and the other model
    parameters.
    """
    return 1.0 + (gamma + sigma + K) * K / (gamma * sigma)