The First Repeated Bin Code

A warehouse scanner assigns each incoming parcel a bin code drawn uniformly at random from 150 150 codes, independently each time and with repetition allowed. Let N N be the number of the parcel that first receives a code already used by an earlier parcel.

Estimate E[N] \mathbb{E}[N] . Give a general formula in terms of the number of codes n n .

Answer

Free accounts unlock one worked solution a day. Pro includes every answer.