Mean number of trials until the first success

Independent trials succeed with probability 1/41/4. Let XX be the trial number of the first success. Find E(X)\mathrm{E}(X).

On the trial-count convention, E(X)=1/p=4\mathrm{E}(X)=1/p=4. The failure-count mean would be (1−p)/p=3(1-p)/p=3, one less.