A company produces widgets, and the number of widgets produced each day follows the equation \( W = 50 \cdot 2^{d-1} \), where \( d \) is the day of production. If the company produced 800 widgets on a certain day, on which day was this? Let's think step by step and output the final answer within \boxed{}.
user