def sum_arithmetic_sequence(a_n: int) -> int:
    """
    Returns 1 + 2 + ... + a_n.

        >>> sum_arithmetic_sequence(4)
        10

        >>> sum_arithmetic_sequence(5)
        15
    """
    return int((a_n * (a_n + 1)) / 2)