Expected items until two defects in a row
A machine produces items that are independently defective with probability . An inspector watches the stream and stops the moment two defective items appear back to back.
What is the expected number of items inspected until the inspector stops?