def sum_series(n):
    """Sum of the first nth value of a series."""
    if n == 0:
        return '0.00'
    a = sum([1.0 / (3 * i + 1) for i in range(n)])
    return '{number:.{digits}f}'.format(number=a, digits=2)