Expected items until the first defective one
A production line turns out items one at a time. Each item is independently defective with probability . An inspector examines them in order and stops at the first defective item.
What is the expected number of items inspected, including the defective one?