The probability is p that a randomly-chosen light bulb is defective. We screw a bulb into a lamp and switch

The probability is p that a randomly-chosen light bulb is defective. We screw a bulb into a lamp and switch on the current. If the bulb works, we stop; otherwise, we try another and continue until a good bulb is found. What is the probability that at least n bulbs are required