def retry_delays(count, base=1, maximum=60):
    if count < 0:
        raise ValueError("count must be non-negative")
    if base <= 0:
        raise ValueError("base must be positive")
    if maximum <= 0:
        raise ValueError("maximum must be positive")
    delays = []
    current = base
    for _ in range(count):
        delays.append(min(current, maximum))
        current *= 2
    return delays
