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